This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [C++0x] add rvalue support to std::function
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Mon, 30 Nov 2009 08:58:49 +0100
- Subject: Re: [C++0x] add rvalue support to std::function
- References: <4348dea50911291634k374347b4t889e002a80800c5e@mail.gmail.com>
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.