Intel® C++ Compiler 19.0 Developer Guide and Reference

ftemplate-depth, Qtemplate-depth

Control the depth in which recursive templates are expanded.

Syntax

Linux and macOS:

-ftemplate-depth=n

Windows:

/Qtemplate-depth:n

Arguments

n

The number of recursive templates that are expanded.

Default

OFF

The compiler uses default heuristics for the depth of expansion.

Description

Control the depth in which recursive templates are expanded. On Linux*, this option is supported only by invoking the compiler with icpc.

IDE Equivalent

None

Alternate Options

None