Boost C++ Libraries: Ticket #8677: Async: Add future<>::get_or https://svn.boost.org/trac10/ticket/8677 <p> Quite often the user as a fall back value that should be used when the future has an exception. </p> <p> For non void futures a get_or function similar to the one of std::optional could be useful </p> <pre class="wiki">R get_or(R&amp;&amp; v); </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8677 Trac 1.4.3 viboes Sun, 09 Jun 2013 09:56:26 GMT type changed https://svn.boost.org/trac10/ticket/8677#comment:1 https://svn.boost.org/trac10/ticket/8677#comment:1 <ul> <li><strong>type</strong> <span class="trac-field-old">Bugs</span> → <span class="trac-field-new">Feature Requests</span> </li> </ul> Ticket viboes Sun, 09 Jun 2013 09:57:17 GMT owner, status, milestone changed https://svn.boost.org/trac10/ticket/8677#comment:2 https://svn.boost.org/trac10/ticket/8677#comment:2 <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> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.55.0</span> </li> </ul> Ticket viboes Sun, 09 Jun 2013 21:42:25 GMT <link>https://svn.boost.org/trac10/ticket/8677#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8677#comment:3</guid> <description> <p> Committed revision <a class="changeset" href="https://svn.boost.org/trac10/changeset/84719" title="Thread: Added future::unwrap()/get_or()/fallback_to().">[84719]</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Mon, 26 Aug 2013 21:21:39 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/8677#comment:4 https://svn.boost.org/trac10/ticket/8677#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Changeset <a class="changeset" href="https://svn.boost.org/trac10/changeset/85200" title="Thread: merge from trunk last updates since 1.54.">[85200]</a> </p> Ticket