Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.

Boost Exception


#include <boost/exception/errinfo_nested_exception.hpp>

#include <boost/exception/error_info.hpp>

    typedef ---unspecified--- exception_ptr;
    typedef error_info<struct errinfo_nested_exception_,exception_ptr> errinfo_nested_exception;

This type is designed to be used as a standard error_info instance for transporting (in exceptions deriving from boost::exception) an exception_ptr to an exception nested into another exception.