Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5990: shared_future<T>::get() has wrong return type
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-10-26 21:36:13
#5990: shared_future<T>::get() has wrong return type
--------------------------------------------------------+-------------------
Reporter: Jan Vogelgesang <jan.vogelgesang@â¦> | Owner: anthonyw
Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
--------------------------------------------------------+-------------------
Comment (by anonymous):
Same shared_future<T>::get() is broken on compilers that have rvalue (msvc
10). Simplest example is shared_future<std::string> , or any type that has
move constructor. It will move away object on first call to get.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5990#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC