4.3.5.3 Why is My Function Not Inline?

Unless you use the inline keyword to specifically inline a function, the compiler will make the decision about which functions to inline. In general, small functions are inlined whereas larger ones are not. For details, see the following section of this user’s guide:

14.5 Inline Functions