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