yes, but in my opinion, it's better to always assume that the compiler will not inline your code. I always make the assumption that it will invoke call/return semantics, because even when you tell the compiler that it should inline a function, it's not required to do it, and in fact it's not required, nor can it be expected, to inline a particular function at any time.