libstdc++
Public Member Functions | Friends | Related Functions | List of all members
std::__unspecified__::exception_ptr Class Reference

Public Member Functions

 exception_ptr (const exception_ptr &) noexcept
 
 exception_ptr (nullptr_t) noexcept
 
 exception_ptr (exception_ptr &&__o) noexcept
 
const class std::type_info__cxa_exception_type () const noexcept
 
 operator bool () const noexcept
 
exception_ptroperator= (const exception_ptr &) noexcept
 
exception_ptroperator= (exception_ptr &&__o) noexcept
 
void swap (exception_ptr &) noexcept
 

Friends

bool operator== (const exception_ptr &, const exception_ptr &) noexcept=default
 
exception_ptr std::current_exception () noexcept
 
template<typename _Ex >
exception_ptr std::make_exception_ptr (_Ex) noexcept
 
void std::rethrow_exception (exception_ptr)
 

Related Functions

(Note that these are not member functions.)

void swap (exception_ptr &__lhs, exception_ptr &__rhs)
 

Detailed Description

An opaque pointer to an arbitrary exception.

The actual name of this type is unspecified, so the alias std::exception_ptr should be used to refer to it.

Since
C++11 (but usable in C++98 as a GCC extension)

Definition at line 97 of file exception_ptr.h.

Friends And Related Function Documentation

◆ swap()

void swap ( exception_ptr __lhs,
exception_ptr __rhs 
)
related

Definition at line 230 of file exception_ptr.h.


The documentation for this class was generated from the following file: