Lines Matching defs:exception_ptr

60 class _LIBCPP_EXPORTED_FROM_ABI exception_ptr {
63 static exception_ptr __from_native_exception_pointer(void*) _NOEXCEPT;
66 friend _LIBCPP_HIDE_FROM_ABI exception_ptr make_exception_ptr(_Ep) _NOEXCEPT;
69 // exception_ptr is basically a COW string.
70 using __trivially_relocatable = exception_ptr;
72 _LIBCPP_HIDE_FROM_ABI exception_ptr() _NOEXCEPT : __ptr_() {}
73 _LIBCPP_HIDE_FROM_ABI exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {}
75 exception_ptr(const exception_ptr&) _NOEXCEPT;
76 exception_ptr& operator=(const exception_ptr&) _NOEXCEPT;
77 ~exception_ptr() _NOEXCEPT;
81 friend _LIBCPP_HIDE_FROM_ABI bool operator==(const exception_ptr& __x, const exception_ptr& __y) _NOEXCEPT {
85 friend _LIBCPP_HIDE_FROM_ABI bool operator!=(const exception_ptr& __x, const exception_ptr& __y) _NOEXCEPT {
89 friend _LIBCPP_EXPORTED_FROM_ABI exception_ptr current_exception() _NOEXCEPT;
90 friend _LIBCPP_EXPORTED_FROM_ABI void rethrow_exception(exception_ptr);
94 _LIBCPP_HIDE_FROM_ABI exception_ptr make_exception_ptr(_Ep __e) _NOEXCEPT {
115 return exception_ptr::__from_native_exception_pointer(__ex);
135 class _LIBCPP_EXPORTED_FROM_ABI exception_ptr {
143 exception_ptr() _NOEXCEPT;
144 exception_ptr(nullptr_t) _NOEXCEPT;
145 exception_ptr(const exception_ptr& __other) _NOEXCEPT;
146 exception_ptr& operator=(const exception_ptr& __other) _NOEXCEPT;
147 exception_ptr& operator=(nullptr_t) _NOEXCEPT;
148 ~exception_ptr() _NOEXCEPT;
152 _LIBCPP_EXPORTED_FROM_ABI bool operator==(const exception_ptr& __x, const exception_ptr& __y) _NOEXCEPT;
154 inline _LIBCPP_HIDE_FROM_ABI bool operator!=(const exception_ptr& __x, const exception_ptr& __y) _NOEXCEPT {
158 _LIBCPP_EXPORTED_FROM_ABI void swap(exception_ptr&, exception_ptr&) _NOEXCEPT;
160 _LIBCPP_EXPORTED_FROM_ABI exception_ptr __copy_exception_ptr(void* __except, const void* __ptr);
161 _LIBCPP_EXPORTED_FROM_ABI exception_ptr current_exception() _NOEXCEPT;
162 _LIBCPP_NORETURN _LIBCPP_EXPORTED_FROM_ABI void rethrow_exception(exception_ptr);
170 _LIBCPP_HIDE_FROM_ABI exception_ptr make_exception_ptr(_Ep __e) _NOEXCEPT {