I occasionally run into this type of syntax when looking through open source code and was wondering what it’s for, or what it’s even called for that matter.
I have crawled the internet many a times before but simple contrived examples never had it nor explained it.
It looks like this
class SomeIdentifier ClassName {
...
}
My question is what is SomeIdentifier ?
Generally this would be something like that
It is for support of MS dlls where you must specify explicitly every class
that is used in interface.
And
SomeIdentifierwould be something likeFOO_BAR_EXPORT