Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 869 Bytes

auto-inline.md

File metadata and controls

23 lines (16 loc) · 869 Bytes
description title ms.date f1_keywords helpviewer_keywords no-loc
Learn more about the auto_inline pragma directive in Microsoft C/C++
auto_inline pragma
01/22/2021
auto_inline_CPP
vc-pragma.auto_inline
pragma, auto_inline
auto_inline pragma
pragma

auto_inline pragma

Excludes any functions defined within the range where off is specified from being considered as candidates for automatic inline expansion.

Syntax

#pragma auto_inline( [ { on | off } ] )

Remarks

To use the auto_inline pragma, place it before and immediately after, not inside, a function definition. The pragma takes effect as soon as the first function definition after the pragma is seen.

See also

Pragma directives and the __pragma and _Pragma keywords