HP aC++/HP C A.06.25 Programmer's Guide

NOTE: This option is supported in C++ only and ignored in C-mode.
+inst_implicit_include
+inst_implicit_include
The +inst_implicit_include option specifies that the compiler use a process
similar to that of the cfront source rule for locating template definition files. For the
cfront based HP C++ compiler, if you are using default instantiation (that is, if you
are not using a map file), you must have a template definition file for each template
declaration file, and these must have the same file name prefix.
This restriction does not apply in HP aC++. Therefore, if your code was written for HP
C++ and you wish to follow this rule when compiling with HP aC++, you need to specify
the +inst_implicit_include option.
This option is strongly discouraged and the sources should be modified to conform to
the standard.
Example:
aCC +inst_implicit_include prog.C
If prog.C includes a template declaration file named template.h, the compiler
assumes a template definition file name determined by the +inst_include_suffixes
option.
See Chapter 5: “Using HP aC++ Templates” (page 173) for more information.
NOTE: This option is supported in C++ only and ignored in C-mode.
+inst_include_suffixes
+inst_include_suffixes "list"
The +inst_include_suffixes option specifies the file name extensions that the
compiler uses to locate template definition files. This option must be used with the
+inst_implicit_include option.
list is a set of space separated file extensions or suffixes, enclosed in quotes, that
template definition files can have.
The default extensions in order of precedence are:
.c
.C
.cxx
.CXX
.cc
Template Options 121