Boost C++ Libraries: Ticket #10424: future/shared_future::then() in case of continuation return an invalid future https://svn.boost.org/trac10/ticket/10424 <p> Add this behavior to future/shared_future::then() </p> <ul><li>In case of implicit unwrapping, the validity of the <code>future</code> returned from <code>then</code> cannot be established until after the completion of the functor passed into <code>then</code>. In such case, the resulting <code>future</code> becomes ready with an exception of type <code>future_error</code>, with an error code of <code>future_errc::broken_promise</code>. </li></ul> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10424 Trac 1.4.3 viboes Sat, 30 Aug 2014 09:53:05 GMT owner, status changed https://svn.boost.org/trac10/ticket/10424#comment:1 https://svn.boost.org/trac10/ticket/10424#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Anthony Williams</span> to <span class="trac-author">viboes</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket viboes Sun, 28 Sep 2014 22:40:41 GMT <link>https://svn.boost.org/trac10/ticket/10424#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10424#comment:2</guid> <description> <p> Even if this <a class="ext-link" href="https://github.com/boostorg/thread/commit/bb72eadbd8fb11a2ae4d7d1999b72015e9e48012"><span class="icon">​</span>https://github.com/boostorg/thread/commit/bb72eadbd8fb11a2ae4d7d1999b72015e9e48012</a> doesn't fixes the issue, it would be needed when doing implicit unwrapping. </p> <p> This depends on <a class="assigned ticket" href="https://svn.boost.org/trac10/ticket/10550" title="#10550: Feature Requests: Implicit unwrapping from then() calls (assigned)">#10550</a> Implicit unwrapping from then() calls. </p> </description> <category>Ticket</category> </item> </channel> </rss>