#include <boost/exception/cloning.hpp>
namespace
boost
{
template <class T>
exception_ptr clone_exception( T const & e );
}
T must be polymorphic.
It is unspecified whether the return values of two successive calls to clone_exception() refer to the same exception object.