Developer Guide and Reference

Contents

fno-implicit-templates

Tells the compiler to not emit code for non-inline templates that are instantiated implicitly.

Syntax

Linux:
-fno-implicit-templates
macOS:
-fno-implicit-templates
Windows:
None
Arguments
None
Default
OFF
The compiler handles inlines so that compilations, with and without optimization, will need the same set of explicit instantiations.
Description
This option tells the compiler to not emit code for non-inline templates that are instantiated implicitly, but to only emit code for explicit instantiations.
Alternate Options
None