Scroll to navigation

std::__exception_ptr::exception_ptr(3cxx) std::__exception_ptr::exception_ptr(3cxx)

NAME

std::__exception_ptr::exception_ptr - An opaque pointer to an arbitrary exception.

SYNOPSIS

#include <exception_ptr.h>

Public Member Functions


exception_ptr (const exception_ptr &) noexcept
exception_ptr (exception_ptr &&__o) noexcept
exception_ptr (nullptr_t) noexcept
const class std::type_info * __cxa_exception_type () const noexcept
operator bool () const noexcept
exception_ptr & operator= (const exception_ptr &) noexcept
exception_ptr & operator= (exception_ptr &&__o) noexcept
void swap (exception_ptr &) noexcept

Friends


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

(Note that these are not member functions.)
void swap (exception_ptr &__lhs, exception_ptr &__rhs)

Detailed Description

An opaque pointer to an arbitrary exception.

Definition at line 90 of file exception_ptr.h.

Constructor & Destructor Documentation

std::__exception_ptr::exception_ptr::exception_ptr () [inline], [noexcept]

Definition at line 182 of file exception_ptr.h.

std::__exception_ptr::exception_ptr::exception_ptr (const exception_ptr & __other) [inline], [noexcept]

Definition at line 188 of file exception_ptr.h.

std::__exception_ptr::exception_ptr::exception_ptr (nullptr_t) [inline], [noexcept]

Definition at line 112 of file exception_ptr.h.

std::__exception_ptr::exception_ptr::exception_ptr (exception_ptr && __o) [inline], [noexcept]

Definition at line 116 of file exception_ptr.h.

std::__exception_ptr::exception_ptr::~exception_ptr () [inline], [noexcept]

Definition at line 198 of file exception_ptr.h.

Member Function Documentation

std::__exception_ptr::exception_ptr::operator bool () const [inline], [explicit], [noexcept]

Definition at line 155 of file exception_ptr.h.

exception_ptr & std::__exception_ptr::exception_ptr::operator= (const exception_ptr & __other) [inline], [noexcept]

Definition at line 206 of file exception_ptr.h.

exception_ptr & std::__exception_ptr::exception_ptr::operator= (exception_ptr && __o) [inline], [noexcept]

Definition at line 133 of file exception_ptr.h.

void std::__exception_ptr::exception_ptr::swap (exception_ptr & __other) [inline], [noexcept]

Definition at line 214 of file exception_ptr.h.

Friends And Related Function Documentation

bool operator!= (const exception_ptr & __x, const exception_ptr & __y) [friend]

Definition at line 170 of file exception_ptr.h.

bool operator== (const exception_ptr & __x, const exception_ptr & __y) [friend]

Definition at line 165 of file exception_ptr.h.

void swap (exception_ptr & __lhs, exception_ptr & __rhs) [related]

Definition at line 223 of file exception_ptr.h.

Author

Generated automatically by Doxygen for libstdc++ from the source code.

Tue Jan 10 2023 libstdc++