From: Doug Gregor (dgregor_at_[hidden])
Date: 2006-05-02 13:35:03
On May 2, 2006, at 12:03 PM, Gennadiy Rozental wrote:
> "Arkadiy Vertleyb" <vertleyb_at_[hidden]> wrote in message
>> "Neal Becker" <ndbecker2_at_[hidden]> wrote
>>> I'd like to use boost::function to wrap (pointer to) function to
>>> pass to
>>> template functions that expect function objects. I'm just
>>> though, if using boost::function wrapper will introduce additional
>>> into the function call?
>> boost::function will introduce an extra virtual function call
>> (which is
>> a big deal in most cases).
> Actually it doesn't if I am not mistaken.
boost::function doesn't use virtual functions, but the effect is the
same. boost::function adds one additional indirect call through a
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk