Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8674: Futures as local named objects can't be returned with implicit move.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-06-09 11:02:31
#8674: Futures as local named objects can't be returned with implicit move.
-------------------------------+----------------------
Reporter: mjklaim@⦠| Owner: viboes
Type: Bugs | Status: assigned
Milestone: To Be Determined | Component: thread
Version: Boost 1.53.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+----------------------
Comment (by mjklaim@â¦):
> Could you try adding this public constructor to Boost.Thread to confirm
it
If I add this code it don't compile and give the same exact error.
But the error points to this line:
{{{
BOOST_THREAD_MOVABLE_ONLY(BOOST_THREAD_FUTURE)
}}}
Obviously, removing it (and keeping the modification) makes it compile.
I don't know if it works though, I would have to recompile boost.thread to
check on runtime. Isn't this modification duplicating the value?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8674#comment:7> 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:13 UTC