early-template-check

Lets you semantically check template function template prototypes before instantiation.

IDE Equivalent

None

Architectures

IA-32 architecture, Intel® 64 architecture, IA-64 architecture

Syntax

Linux and Mac OS: -early-template-check
  -no-early-template-check
Windows:  None

Arguments

None

Default

OFF The prototype instantiation of function templates and function members of class templates is deferred.

Description

Lets you semantically check template function template prototypes before instantiation. On Linux platforms, gcc 3.4 (or newer) compatibilty modes (i.e. -gcc-version=340 and later) must be in effect. For all Mac OS platforms, gcc 4.0 (or newer) is required.

Alternate Options

None