I encountered a code in c++ where class has been defined like :
class MACRO class_name
{
public :
private :
}
In standard C++11 and later, there can be attributes between class
and the class name. It is also possible (even more likely, perhaps) that the macro expands to non-standard attribute syntax supported by the particular compiler that is being used to compile the code.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With