I think you got me wrong, I'm not initializing variables in the class def. I have a static class member, and they need to be initialized!!
But anyway, I think I found a solution for the problem, by not compiling to a .lib file, but linking all obj's together directly solves the problem, and the...
hello there,
I have a problem with static class memeber initialization.
I do the following:
std::string ClassA::sDummy
= ClassFactory<string,Module>
::RegisterCreatorFunction(std::string( "ClassA" ), ClassA::CreatorFunction );
this registers the creator function of the ClassA class to a map...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.