Instance variables

Place both type-specific and non-type-specific instance variables in the implementation class. Treat non-type-specific instance variables normally, and use their real type. For type-specific instance variables, hold them by a pointer to the most derived common base type, which is usually void.


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker