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 Emil Dotchevski, 9 years ago

I think that if std::exception_ptr is available, boost::exception_ptr should be a typedef.

comment:2 by viboes, 9 years ago

Yeah, this will provide the more efficient conversion. Please could you add the make_exception_ptr overload?

comment:3 by viboes, 8 years ago

Any news on this feature?

Note: See TracTickets for help on using tickets.