Opened 9 years ago
Last modified 9 years ago
#9715 new Feature Requests
Converting std:exception_ptr to boost:exception_ptr
Reported by: | anonymous | Owned by: | Emil Dotchevski |
---|---|---|---|
Milestone: | To Be Determined | Component: | exception |
Version: | Boost 1.55.0 | Severity: | Problem |
Keywords: | Cc: | ikispal@… |
Description
Please provide a way to convert std::exception_ptr to boost::exception_ptr (if std::exception_ptr is available of course).
This would important for users who do not want to wrap all of their throws in enable_current_exception() and/or use std::exception_ptr in other parts of their code, but forced to use boost::exception_ptr in their public interface of other boost libraries.
See also: http://stackoverflow.com/questions/22010388/converting-stdexception-ptr-to-boostexception-ptr
Would it be possible to typedef std::exception_ptr as boost::exception_ptr if boost is compiled with C++11?