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

Jonathan Wakely jwakely.gcc@gmail.com
Mon Nov 30 08:42:00 GMT 2009


2009/11/30 Paolo Carlini:
> 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...

OK, thanks, Paolo.  I'll continue working on the other bits later today.

Cheers,
Jon.



More information about the Libstdc++ mailing list