|
Boost : |
From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2006-05-02 12:03:17
"Arkadiy Vertleyb" <vertleyb_at_[hidden]> wrote in message
news:e37oqm$gan$1_at_sea.gmane.org...
> "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 wondering,
>> though, if using boost::function wrapper will introduce additional
> overhead
>> into the function call?
>
> boost::function will introduce an extra virtual function call (which is
> not
> a big deal in most cases).
Actually it doesn't if I am not mistaken.
Gennadiy
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk