Pull request [cpp-netlib/cpp-netlib] Do not wrap exceptions passed to boost::promise::set_exception in std…

5 views
Skip to first unread message

Dean Michael Berris

unread,
Feb 14, 2018, 12:22:16 AM2/14/18
to cpp-n...@googlegroups.com
Do not wrap exceptions passed to boost::promise::set_exception in std…
By HighCommander4

…::exception_ptr (fixes #815) boost::promise only knows about boost::exception_ptr, and handles wrapping of concrete exception types into that itself. If passed std::exception_ptr, it will wrap it a second time and later throw the std::exception_ptr itself.

February 14, 2018 at 03:09PM
via GitHub http://ift.tt/2EZAZ21
Reply all
Reply to author
Forward
0 new messages