C/C++ Compiler (cl.hlp) (Table of Contents; Topic list)
Controlling Inline Function Expansion (/Ob<n>)
                                             Up Contents Index Back
─────C/C++ Compiler─────────────────────────────────────────────────────────
 
     Use the /Ob option to control the inline expansion of functions,
     where <n> is a digit from 0 through 2. The following table
     describes the action of each digit:
 
     Digit     Action
 
     0         Disables inline expansion (default with /Od)
 
     1         Only expand functions marked as inline, __inline, or in
               a C++ member function defined within a class declaration
               (default without /Od)
 
     2         Expand functions marked as inline or __inline and any
               other function the compiler chooses (expansion occurs at
               compiler discretion)
 
  See also: inline, auto_inline, inline_depth, inline_recursion
                                    -♦-