A class with two names?

While reading the code, I came across a class that has 2 identifiers calling it:

class A_EXP Node { //.. }; 

I can’t understand what this means. Can anyone help me out?

+7
source share
1 answer

A_EXP - probably a macro, maybe nothing happens at all. It can also expand to __declspec or a similar declaration, which changes the way the class is compiled as object code. General usage of this template will be:

 #define A_EXP __declspec(dllexport) 
+12
source

All Articles