DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Instantiating C++ templates

Instantiation via the command line

Another way of manually controlling instantiation is via the -T option to CC. The suboptions you can use to do this are:

These options to CC might typically be used with dummy source files that include the headers that describe the templates and their argument types and that make dummy references to the template classes used by the rest of the application. These source files would be compiled using the various options mentioned above and the resulting objects linked with the application.


Next topic: Single files
Previous topic: Pragma interface

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005