ILE C/C++ Programmer's Guide

How the ILE TEMPINC Option Works

For each header file with function templates that need to be defined, the compiler generates an IFS TEMPINC directory (or a Data Management tempinc file). The IFS TEMPINC directory (or a Data Management tempinc file) generates #include statements for any function templates, class template member functions, or class template static data members that need to be defined. These functions and members are found in:

Before it invokes the binder, the compiler compiles the tempinc files and generates the necessary template definitions. Only one definition is generated for each template.

The TEMPLATE parameter defaults to *NONE. The other options are *SRCDIR or path-name, where path-name is an IFS directory or Data Management file. The compiler creates the specified IFS TEMPINC directory (or Data Management tempinc file) if it does not already exist.

Note:
The applicable xlc qshell command option is -qtempinc=dir, where dir is a directory name. You can specify either a fully qualified path name or a path name relative to the current directory.


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