Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10340: No boost::promise<T>::set_value(const T&) overload present in C++03 mode
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-08-11 11:38:50
#10340: No boost::promise<T>::set_value(const T&) overload present in C++03 mode
-------------------------------+----------------------
Reporter: rob.desbois@⦠| Owner: anthonyw
Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+----------------------
Comment (by anonymous):
The error you pasted is due to a syntax error and doesn't match the code
you pasted:
{{{
t.cpp: In function âint main()â: t.cpp:12:78: error: expected primary-
expression before âfâ
const boost::unique_future<foo>& fut = boost::make_ready_future( foo f(42)
);
}}}
(Also the output would be a lot more useful with `-Wno-unused-local-
typedefs`)
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10340#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:16 UTC