This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] fix libstdc++/55861


On 19 January 2013 23:43, Jonathan Wakely wrote:
>         PR libstdc++/55861
>         * include/std/future (_State_base::_S_check(const shared_ptr<T>&)):
>         Fix return type.
>         (__basic_future::_M_get_result()): Const qualify.
>         (shared_future::get()): Likewise.
>         * testsuite/30_threads/shared_future/members/get.cc: Use const
>         objects.
>
> Tested x86_64-linux, committed to trunk.

I've backported the first part of this, fixing the return type, to the
4.7 branch.

Unfortunately it makes std::future unusable with clang, see
http://llvm.org/bugs/show_bug.cgi?id=17375

Tested x86_64-linux, committed to the 4.7 branch.

Attachment: patch.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]