You’ll need to initialize those variables in a constructor, defined in a cpp file. That way you have the full definition of the derived classes available in order to use the ::StaticClass function.
You’ll need to initialize those variables in a constructor, defined in a cpp file. That way you have the full definition of the derived classes available in order to use the ::StaticClass function.