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
55 class exception_ptr;
58 using __exception_ptr::exception_ptr;
60 /** Obtain an exception_ptr to the currently handled exception. If there
64 exception_ptr current_exception() _GLIBCXX_USE_NOEXCEPT;
66 /// Throw the object pointed to by the exception_ptr.
67 void rethrow_exception(exception_ptr) __attribute__ ((__noreturn__));
75 class exception_ptr
79 explicit exception_ptr(void* __e) _GLIBCXX_USE_NOEXCEPT;
86 friend exception_ptr std::current_exception() _GLIBCXX_USE_NOEXCEPT;
87 friend void std::rethrow_exception(exception_ptr);
90 exception_ptr() _GLIBCXX_USE_NOEXCEPT;
92 exception_ptr(const exception_ptr&) _GLIBCXX_USE_NOEXCEPT;
95 exception_ptr(nullptr_t) noexcept
99 exception_ptr(exception_ptr&& __o) noexcept
105 typedef void (exception_ptr::*__safe_bool)();
108 exception_ptr(__safe_bool) _GLIBCXX_USE_NOEXCEPT;
111 exception_ptr&
112 operator=(const exception_ptr&) _GLIBCXX_USE_NOEXCEPT;
115 exception_ptr&
116 operator=(exception_ptr&& __o) noexcept
118 exception_ptr(static_cast<exception_ptr&&>(__o)).swap(*this);
123 ~exception_ptr() _GLIBCXX_USE_NOEXCEPT;
126 swap(exception_ptr&) _GLIBCXX_USE_NOEXCEPT;
143 operator==(const exception_ptr&, const exception_ptr&)
152 operator==(const exception_ptr&, const exception_ptr&)
156 operator!=(const exception_ptr&, const exception_ptr&)
160 swap(exception_ptr& __lhs, exception_ptr& __rhs)
166 /// Obtain an exception_ptr pointing to a copy of the supplied object.
168 exception_ptr
185 /// Obtain an exception_ptr pointing to a copy of the supplied object.
188 exception_ptr
192 exception_ptr