Often, but not always.<p>One example is calling virtual functions. There&#x27;s an extra memory lookup to resolve the function call at runtime.<p>Almost all the time, that extra single memory lookup is irrelevant. But just occasionally, that cost can have an impact.<p>In principle it&#x27;s no different to C - you need to understand the basics of what code the compiler is going to generate to do what you&#x27;re asking it to. In C++ the constructs are much more complicated and that mapping becomes less clear.