diff --git a/include/boost/exception/detail/exception_ptr.hpp b/include/boost/exception/detail/exception_ptr.hpp index 5830a7f..a9222d9 100644 --- a/include/boost/exception/detail/exception_ptr.hpp +++ b/include/boost/exception/detail/exception_ptr.hpp @@ -92,6 +92,14 @@ boost } } + template + inline + exception_ptr + make_exception_ptr( T const & e ) + { + return copy_exception(e); + } + #ifndef BOOST_NO_RTTI typedef error_info original_exception_type;