◄Up► ◄Contents► ◄Index► ◄Back► ─────C/C++ Language───────────────────────────────────────────────────────── Pragma: auto_inline Syntax: #pragma auto_inline( [on | off] ) Summary: Inhibits the inline expansion of a function. See also: /Ob, inline_recursion, inline_depth The auto_inline pragma inhibits the preprocessor from expanding a function when the /Ob2 option is in effect. To use it, place the pragma before and after a function definition: #pragma auto_inline( off ) void not_expanded( void ) { /* ... */ } #pragma auto_inline( on ) The auto_inline pragma cannot appear in the body of a function, nor can it be used with the invocation of a function. It will not affect a function specifically marked with the inline or __inline keywords. If no value is supplied in parentheses, "on" is the default. -♦-