ILE C/C++ Compiler Reference

TMPLREG

Valid only with the CRTCPPMOD command. Maintains a record of all templates as they are encountered in the source and ensures that only one instantiation of each template is made. The TMPLREG and TEMPLATE(*TEMPINC) parameters are mutually exclusive.

|--+-----------------------------------------------+------------|
   |          (1) (2) (3)   .-*NONE-----------.    |
   '-TMPLREG(---------------+-*DFT------------+--)-'
                            '-'--path-name--'-'
 
 

Notes:

  1. C++ compiler only

  2. Create Module command only

  3. Applicable only when using the Integrated File System (IFS)

The possible options are:

*NONE
Default setting. Do not use the template registry file to keep track of template information.
*DFT
If the source file is a stream file, the template registry file is created in the source directory with the default name 'templateregistry'. If the source file is not a stream file, a file QTMPLREG with the member QTMPLREG will be created in the library where the source resides.
path-name
Specifies a path name for the stream file in which to store the template registry information.


[ Top of Page | Previous Page | Next Page | Table of Contents ]