Home | History | Annotate | Download | only in bits

Lines Matching refs:exception_ptr

1 // Exception Handling support header (exception_ptr class) for -*- C++ -*-
26 /** @file bits/exception_ptr.h
53 class exception_ptr;
56 using __exception_ptr::exception_ptr;
58 /** Obtain an exception_ptr to the currently handled exception. If there
62 exception_ptr current_exception() _GLIBCXX_USE_NOEXCEPT;
64 /// Throw the object pointed to by the exception_ptr.
65 void rethrow_exception(exception_ptr) __attribute__ ((__noreturn__));
73 class exception_ptr
77 explicit exception_ptr(void* __e) _GLIBCXX_USE_NOEXCEPT;
84 friend exception_ptr std::current_exception() _GLIBCXX_USE_NOEXCEPT;
85 friend void std::rethrow_exception(exception_ptr);
88 exception_ptr() _GLIBCXX_USE_NOEXCEPT;
90 exception_ptr(const exception_ptr&) _GLIBCXX_USE_NOEXCEPT;
93 exception_ptr(nullptr_t) noexcept
97 exception_ptr(exception_ptr&& __o) noexcept
103 typedef void (exception_ptr::*__safe_bool)();
106 exception_ptr(__safe_bool) _GLIBCXX_USE_NOEXCEPT;
109 exception_ptr&
110 operator=(const exception_ptr&) _GLIBCXX_USE_NOEXCEPT;
113 exception_ptr&
114 operator=(exception_ptr&& __o) noexcept
116 exception_ptr(static_cast<exception_ptr&&>(__o)).swap(*this);
121 ~exception_ptr() _GLIBCXX_USE_NOEXCEPT;
124 swap(exception_ptr&) _GLIBCXX_USE_NOEXCEPT;
141 operator==(const exception_ptr&, const exception_ptr&)
150 operator==(const exception_ptr&, const exception_ptr&)
154 operator!=(const exception_ptr&, const exception_ptr&)
158 swap(exception_ptr& __lhs, exception_ptr& __rhs)
164 /// Obtain an exception_ptr pointing to a copy of the supplied object.
166 exception_ptr
183 /// Obtain an exception_ptr pointing to a copy of the supplied object.
185 exception_ptr