C/C++ Programmer's Guide (G06.27+, H06.03+)

Table Of Contents
Compiler Pragmas
HP C/C++ Programmer’s Guide for NonStop Systems429301-010
13-8
ALLOW_EXTERN_EXPLICIT_INSTANTIATION
Usage Guidelines
ALLOW_CPLUSPLUS_COMMENTS is a command-line directive that must be entered
on the compiler RUN command line, not in the source text.
The ALLOW_CPLUSPLUS_COMMENTS directive can also be specified with the
-Wallow_cplusplus_comments flag of the c89 utility.
When you use the ALLOW_CPLUSPLUS_COMMENTS directive, your native mode C
program can include the comment delimiter that is standard in C++, namely, the
double slash (//).
Examples
// C++ comment (to end of line)
/* C comment (between delimiters;
can span several lines) */
ALLOW_EXTERN_EXPLICIT_INSTANTIATION
The ALLOW_EXTERN_EXPLICIT_INSTANTIATION command-line option specifies an
extern to be applied to an explicit template instantiation. This option will suppress the
instantiation of the template. The default behavior is to instantiate the template.
The pragma default settings are:
Usage Guidelines
ALLOW_EXTERN_EXPLICIT_INSTANTIATION can be entered on the compiler
RUN command line (NMCPLUS) or be specified with the
-Wallow_extern_explicit_instantiation flag of the c89 utility.
This pragma is only valid for TNS/R-targeted compilations.
ALLOW_EXTERN_EXPLICIT_INSTANTIATION
SYSTYPE GUARDIAN SYSTYPE OSS
TNS C compiler N.A. N.A.
G-series TNS c89 utility N.A. N.A.
TNS/R native C and C++ compilers Not set Not set
Native c89 utility Not set Not set
TNS/E native C and C++ compilers N.A. N.A.