title: Are functors actually faster than pointers to functions?
body: <p>According to Scott Meyers, one area where C++ shines over C is that function objects are faster than function pointers. He says this is because function objects are inlined, which increases speed.</p>
  
  <p>I have two questions about this:</p>
  
  <ol>
  <li><p>How can we verify that function objects are, in fact, inlined? Can we verify this in practice?</p></li>
  <li><p>Does the inlining of function objects depend on the compiler we use, or do all compilers behave like this?</p></li>
  </ol>