Hide implementation classes

Classes that are used solely by your implementation needn't be declared in your public header file, as long as your class refers to them by pointer or reference. You only need a partial declaration, like this:

    class TImplementation;
This suffices as long as you don't embed such an object, create one, or access any of its members outside of your private implementation.

[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