[C++0x] add rvalue support to std::function

Paolo Carlini paolo.carlini@oracle.com
Mon Nov 30 07:58:00 GMT 2009


On 11/30/2009 01:34 AM, Jonathan Wakely wrote:
> This adds move construction and move assignment to std::function, as
> well function invocation with rvalue arguments, fixing the problem
> reported at http://gcc.gnu.org/ml/libstdc++/2009-06/msg00013.html
>   
Jon, thanks for working on this.

I see that even the std::function changes alone mean quite a few
#ifdefs: given our general plans in this area I think it makes sense to
split the tr1_impl implementation of functional immediately. Let me take
care of that, I will incorporate at the same time this work of yours,
this way you can concentrate on the other std::functional bits...

Paolo.



More information about the Libstdc++ mailing list