共用方式為


auto_inline

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at auto_inline. 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 in) a function definition. The pragma takes effect at the first function definition after the pragma is seen.

See Also

Pragma Directives and the __Pragma Keyword