#include <boost/exception/enable_error_info.hpp>
namespace
boost
{
template <class T>
---unspecified--- enable_error_info( T const & x );
}
T must be a user-defined type with accessible no-throw copy constructor.
An object of unspecified type with no-throw copy semantics, which derives publicly from both T, and class boost::exception. The T sub-object is initialized from x by the T copy constructor. If T already derives from boost::exception, then the type of the returned object does not derive boost::exception.
Nothing.