From: David Abrahams (dave_at_[hidden])
Date: 2004-04-12 06:37:35
Vladimir Prus <ghost_at_[hidden]> writes:
> Looking at the code, it seems boost::bind uses non-const reference for
> operator() -- the actual forwarding -- and by-value for arguments to 'bind'
Note that templated non-const references will bind to const and
non-const lvalues (with different 'T' deduction). The only things
they won't bind to are rvalues.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk