While reading code I came across a class which has 2 identifiers 'naming it':
class A_EXP Node
{
//..
};
I am not able to understand what this means. Could someone help me out?
To assign multiple classes to a single HTML element, you need to specify each class name inside the class attribute separated with a blank space. A class name that has more than one word is commonly joined with a dash ( - ) this is also known as the kebab-case.
HTML elements can be assigned multiple classes by listing the classes in the class attribute, with a blank space to separate them.
To specify multiple classes, separate the class names with a space, e.g. <span class="left important">.
Class names can be one or multiple words. If your class name is multiple words, use hyphens where you would put spaces.
A_EXP
is probably a macro, possibly expanding to nothing at all. It may also expand to a __declspec
or similar declaration, which modifies how the compiler will emit the class as object code. A common use of this pattern would be:
#define A_EXP __declspec(dllexport)
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