Removing Inheritance Reated Code
I need to implement many derived classes with different constant member data. Data processing should be in the base class, but I can not find an elegant way to access the derived data. The following code works, but I do not really like it. The code must be run in a small integrated environment. Therefore, using full or shifted libraries such as Boost is not an option. How can I remove the inheritance related code?