This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [C++0x] Back to the <future>
- 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: Thu, 21 Jan 2010 00:45:00 +0100
- Subject: Re: [C++0x] Back to the <future>
- References: <4348dea51001201536v25283008v843aff92a95a798c@mail.gmail.com>
On 01/21/2010 12:36 AM, Jonathan Wakely wrote:
> This patch updates <future> to match the n3000 working paper.
>
Great!
> [snip interesting observations]
>
> Other changes are renaming unique_future to future, removing
> future::is_ready, future::has_value and future::has_exception, but
> adding future::valid, and adding some default constructors and move
> operations. That obviously broke all the tests I spent ages writing
> to check is_ready/has_value etc. :-) I haven't renamed the test
> directory from unique_future to future.
>
That's puzzling: you mean as part of the patch, in order to keep the
diff cleaner? Otherwise, with svn, renaming is such easy...
> Tested x86_64/Linux. This only affects C++0x mode so I'd like to
> commit it for 4.5, fixing libstdc++/42201
>
In case you need the vote of a second maintainer, you have mine ;)
Paolo.