Terminal elements should not have store/restore member functions as their roles are purely semantic. All a terminal element should do is convert cdata into a data type such as string, int, bool, etc. (by subclassing the appropriate *_terminal class) and be an element type for RTTI (thus subclassing an appropriate terminal class instead of having the factory producing them directly).
Terminal elements should not have store/restore member functions as their roles are purely semantic. All a terminal element should do is convert cdata into a data type such as string, int, bool, etc. (by subclassing the appropriate
*_terminal
class) and be an element type for RTTI (thus subclassing an appropriate terminal class instead of having the factory producing them directly).