Lines Matching defs:exception_ptr

1 // Exception Handling support header (exception_ptr class) for -*- C++ -*-
26 /** @file bits/exception_ptr.h
59 class exception_ptr;
62 using __exception_ptr::exception_ptr;
64 /** Obtain an exception_ptr to the currently handled exception. If there
68 exception_ptr current_exception() _GLIBCXX_USE_NOEXCEPT;
71 exception_ptr make_exception_ptr(_Ex) _GLIBCXX_USE_NOEXCEPT;
73 /// Throw the object pointed to by the exception_ptr.
74 void rethrow_exception(exception_ptr) __attribute__ ((__noreturn__));
84 class exception_ptr
88 explicit exception_ptr(void* __e) _GLIBCXX_USE_NOEXCEPT;
95 friend exception_ptr std::current_exception() _GLIBCXX_USE_NOEXCEPT;
96 friend void std::rethrow_exception(exception_ptr);
98 friend exception_ptr std::make_exception_ptr(_Ex) _GLIBCXX_USE_NOEXCEPT;
101 exception_ptr() _GLIBCXX_USE_NOEXCEPT;
103 exception_ptr(const exception_ptr&) _GLIBCXX_USE_NOEXCEPT;
106 exception_ptr(nullptr_t) noexcept
110 exception_ptr(exception_ptr&& __o) noexcept
116 typedef void (exception_ptr::*__safe_bool)();
119 exception_ptr(__safe_bool) _GLIBCXX_USE_NOEXCEPT;
122 exception_ptr&
123 operator=(const exception_ptr&) _GLIBCXX_USE_NOEXCEPT;
126 exception_ptr&
127 operator=(exception_ptr&& __o) noexcept
129 exception_ptr(static_cast<exception_ptr&&>(__o)).swap(*this);
134 ~exception_ptr() _GLIBCXX_USE_NOEXCEPT;
137 swap(exception_ptr&) _GLIBCXX_USE_NOEXCEPT;
154 operator==(const exception_ptr&, const exception_ptr&)
162 /// @relates exception_ptr @{
165 operator==(const exception_ptr&, const exception_ptr&)
169 operator!=(const exception_ptr&, const exception_ptr&)
173 swap(exception_ptr& __lhs, exception_ptr& __rhs)
187 /// Obtain an exception_ptr pointing to a copy of the supplied object.
189 exception_ptr
202 return exception_ptr(__e);
219 return exception_ptr();