#include <boost/exception/info.hpp>
namespace
boost
{
template <class ErrorInfo,class E>
shared_ptr<typename ErrorInfo::value_type const> get_error_info( E const & x );
}
The type of the x object must derive from boost::exception; ErrorInfo must be an instance of the error_info template.
If x does not store an object of type ErrorInfo, returns an empty shared_ptr; otherwise returns pointer to the stored value. Use operator<<() to store values in exception objects.
Nothing.