Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 3/31/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

ftemplate-depth, Qtemplate-depth

Control the depth in which recursive templates are expanded.

Syntax

Linux:

-ftemplate-depth=n

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