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

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004