ILE C/C++ Compiler Reference
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.

TMPLREG Syntax:
|--+-----------------------------------------------+------------|
| (1) (2) (3) .-*NONE-----------. |
'-TMPLREG(---------------+-*DFT------------+--)-'
'-'--path-name--'-'
Notes:
- C++ compiler only
- Create Module command only
- 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 | Contents |
Index ]