Opened 9 years ago
Last modified 8 years ago
#9769 new Feature Requests
Add conversion from boost::exception_ptr to std::exception_ptr when available
Reported by: | viboes | Owned by: | Emil Dotchevski |
---|---|---|---|
Milestone: | To Be Determined | Component: | exception |
Version: | Boost 1.55.0 | Severity: | Problem |
Keywords: | Cc: |
Description
Having the conversion from boost::exception_ptr to std::exception_ptr, when the compiler supports it std::exception_ptr, is needed to implement this ticket #9710 "Support std::exception_ptr in boost::promise".
Do you think that it is worth adding it to Boost.Exception? Could this conversion be done more efficiently using the internals of the library?
Change History (3)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Yeah, this will provide the more efficient conversion. Please could you add the make_exception_ptr overload?
Note:
See TracTickets
for help on using tickets.
I think that if std::exception_ptr is available, boost::exception_ptr should be a typedef.