Lines Matching defs:exception_ptr
1 // Exception Handling support header (exception_ptr class) for -*- C++ -*-
26 /** @file 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() throw();
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) throw();
86 friend exception_ptr std::current_exception() throw();
87 friend void std::rethrow_exception(exception_ptr);
90 exception_ptr() throw();
92 typedef void (exception_ptr::*__safe_bool)();
95 exception_ptr(__safe_bool) throw();
97 exception_ptr(const exception_ptr&) throw();
100 exception_ptr(exception_ptr&& __o) throw()
105 exception_ptr&
106 operator=(const exception_ptr&) throw();
109 exception_ptr&
110 operator=(exception_ptr&& __o) throw()
112 exception_ptr(static_cast<exception_ptr&&>(__o)).swap(*this);
117 ~exception_ptr() throw();
120 swap(exception_ptr&) throw();
129 operator==(const exception_ptr&, const exception_ptr&) throw()
137 operator==(const exception_ptr&, const exception_ptr&) throw()
141 operator!=(const exception_ptr&, const exception_ptr&) throw()
146 /// Obtain an exception_ptr pointing to a copy of the supplied object.
148 exception_ptr