An explicit instantiation of a class forces the definition a class specialization without creating any object of the class. It implies the instantiation of all members of the class that have not already been explicitly specialized. If you do not require all class members in your program, you can explicitly instantiate only those indidvidual members that the program requires.
For more information about explicit instantiations, see the Websphere Development Studio: ILE C/C++ Language Reference. In the index, look up "templates", and then the subheading "instantiations", "explicit".
In Figure 321:
Figure 321. Example of All Instances of a Class Defined in a Single Compilation Unit
|
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.