Boost logo

Boost :

Subject: Re: [boost] [function] Move constructors and move assignment
From: paul Fultz (pfultz2_at_[hidden])
Date: 2012-09-05 15:21:17


>Hi,
>
>There is a patch in ticket #7330, that adds move semantics to Boost.Function.
>It looks pretty trivial, so if there will be no objections, I'll
>commit it to trunk at the end of next week.

Move emulation should be enabled explicity on compilers that don't support rvalue references. This is the way its done with Boost.Unordered which requires defining the BOOST_UNORDERED_USE_MOVE macro. This is because Boost.Move can be break users code on older compilers. See issue #6167 and issue #6311.


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