Subject: [Boost-bugs] [Boost C++ Libraries] #8677: Async: Add future<>::get_or
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-06-09 09:54:22
#8677: Async: Add future<>::get_or
------------------------------+----------------------
Reporter: viboes | Owner: anthonyw
Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
Version: Boost 1.54.0 | Severity: Problem
Keywords: |
------------------------------+----------------------
Quite often the user as a fall back value that should be used when the
future has an exception.
For non void futures a get_or function similar to the one of std::optional
could be useful
{{{
R get_or(R&& v);
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8677> 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