| description |
Learn more about the auto_inline pragma directive in Microsoft C/C++ |
| title |
auto_inline pragma |
| ms.date |
01/22/2021 |
| f1_keywords |
auto_inline_CPP |
vc-pragma.auto_inline |
|
| helpviewer_keywords |
pragma, auto_inline |
auto_inline pragma |
|
| no-loc |
|
Excludes any functions defined within the range where off is specified from being considered as candidates for automatic inline expansion.
#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.
Pragma directives and the __pragma and _Pragma keywords