Subject: [Boost-bugs] [Boost C++ Libraries] #10424: future/shared_future::then() in case of continuation return an invalid future
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-08-30 08:50:59
#10424: future/shared_future::then() in case of continuation return an invalid
future
------------------------------+----------------------
Reporter: viboes | Owner: anthonyw
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: thread
Version: Boost 1.56.0 | Severity: Problem
Keywords: |
------------------------------+----------------------
Add this behavior to future/shared_future::then()
- In case of implicit unwrapping, the validity of the `future` returned
from `then` cannot be established until after the completion of the
functor passed into `then`. In such case, the resulting `future` becomes
ready with an exception of type `future_error`, with an error code of
`future_errc::broken_promise`.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10424> 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