I’m a Java programmer and I’m learning c++ 11 which I like a lot. I really think it’s great but I’m missing the notion of annotation in this language.
First, is there something close to Java style annotation in the standard ? I think there’s not after my research.
What would be the closer, standard way (no compiler extensions), to “simulate” a Java style annotation in c++ ?
And please don’t mention the c++ 11 override annotation. I mean user defined annotations.
There is nothing like annotations in standard C++. For alternatives, it depends on why you want to use annotations.