libstdc++
Exceptions

Classes

class  __cxxabiv1::__forced_unwind
 
struct  __gnu_cxx::forced_exception_error
 
class  std::ios_base::failure
 

Functions

template<typename _Ex >
exception_ptr std::copy_exception (_Ex __ex) throw ()
 
exception_ptr std::current_exception () throw ()
 
void std::rethrow_exception (exception_ptr) __attribute__((__noreturn__))
 

Detailed Description

Function Documentation

template<typename _Ex >
exception_ptr std::copy_exception ( _Ex  __ex)
throw (
)

Obtain an exception_ptr pointing to a copy of the supplied object.

Definition at line 152 of file exception_ptr.h.

References std::current_exception().

exception_ptr std::current_exception ( )
throw (
)

Obtain an exception_ptr to the currently handled exception. If there is none, or the currently handled exception is foreign, return the null value.

Referenced by std::copy_exception().

void std::rethrow_exception ( exception_ptr  )

Throw the object pointed to by the exception_ptr.