Boost logo

Boost :

From: John Maddock (John_Maddock_at_[hidden])
Date: 2001-03-29 07:03:27


>"For
>example, it is easier to inline the application operator of a class than
to
>inline a function passed as a pointer to a function. Consequently,
function
>objects often execute faster than do ordinary functions."<

That's a differnt issue: yes function objects are likely to be faster than
function pointers, but not faster than a regular function call surely -
especially as they take one extra hidden argument (this pointer).

- John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk