-qtempmax (C++ only)

Category

Template control

Pragma equivalent

None.

Purpose

Specifies the maximum number of template include files to be generated by the -qtempinc option for each header file.

Syntax

Read syntax diagramSkip visual syntax diagram
>>- -q--tempmax--=--number-------------------------------------><

Defaults

-qtempmax=1

Parameters

number
The maximum number of template include files. The number can be a value between 1 and 99 999.

Usage

This option should be used when the size of files generated by the -qtempinc option become very large and take a significant amount of time to recompile when a new instance is created.

Instantiations are spread among the template include files.

Predefined macros

None.

Related information