Subject: [Boost-bugs] [Boost C++ Libraries] #9710: Support std::exception_ptr in boost::promise
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-02-25 12:09:44
#9710: Support std::exception_ptr in boost::promise
------------------------------+----------------------
Reporter: ikispal@⦠| Owner: anthonyw
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: threads
Version: Boost 1.55.0 | Severity: Problem
Keywords: futures |
------------------------------+----------------------
Please add something like this to boost::promise:
void set_exception(std::exception_ptr e);
if std::exception_ptr is available.
I want to use boost futures, but don't want to wrap all of my throws in
enable_current_exception(). See also:
http://stackoverflow.com/questions/22010388/converting-stdexception-ptr-
to-boostexception-ptr
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9710> 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:15 UTC