3 ms·
I have to admit, I have no idea what the @ symbol does. Can anyone clarify? It can't be a macro, so I assume it's a C++14 feature I'm not aware of.
by TillE 12y ago
I have to admit, I have no idea what the @ symbol does. Can anyone clarify?
It can't be a macro, so I assume it's a C++14 feature I'm not aware of.
- matt42 12y agoIt is not part of C++14, it is a small syntaxic sugar that compiles to iod symbols. A compiler convert it to plain C++. In short, their are empty objects holding a unique C++ type. More info here: https://github.com/matt-42/iod https://github.com/matt-42/iod
- MordodeMaru 12y agoPretty interesting Matt, would you consider uploading to biicode (a C++ deps manager) so that C++ programmers reuse it in there projects?
- matt42 12y agoNice idea. I probably do so after I fix the first batch of issues.
- MordodeMaru 12y agoThis is the getting started guide: http://docs.biicode.com/c++/gettingstarted.html http://docs.biicode.com/c++/gettingstarted.html Hope you find it useful.
- deleted 12y ago[deleted]