Lines Matching defs:exception_ptr

59 class _LIBCPP_EXPORTED_FROM_ABI exception_ptr {
62 static exception_ptr __from_native_exception_pointer(void*) _NOEXCEPT;
65 friend _LIBCPP_HIDE_FROM_ABI exception_ptr make_exception_ptr(_Ep) _NOEXCEPT;
68 // exception_ptr is basically a COW string.
69 using __trivially_relocatable _LIBCPP_NODEBUG = exception_ptr;
71 _LIBCPP_HIDE_FROM_ABI exception_ptr() _NOEXCEPT : __ptr_() {}
72 _LIBCPP_HIDE_FROM_ABI exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {}
74 exception_ptr(const exception_ptr&) _NOEXCEPT;
75 exception_ptr& operator=(const exception_ptr&) _NOEXCEPT;
76 ~exception_ptr() _NOEXCEPT;
80 friend _LIBCPP_HIDE_FROM_ABI bool operator==(const exception_ptr& __x, const exception_ptr& __y) _NOEXCEPT {
84 friend _LIBCPP_HIDE_FROM_ABI bool operator!=(const exception_ptr& __x, const exception_ptr& __y) _NOEXCEPT {
88 friend _LIBCPP_EXPORTED_FROM_ABI exception_ptr current_exception() _NOEXCEPT;
89 friend _LIBCPP_EXPORTED_FROM_ABI void rethrow_exception(exception_ptr);
93 _LIBCPP_HIDE_FROM_ABI exception_ptr make_exception_ptr(_Ep __e) _NOEXCEPT {
114 return exception_ptr::__from_native_exception_pointer(__ex);
134 class _LIBCPP_EXPORTED_FROM_ABI exception_ptr {
142 exception_ptr() _NOEXCEPT;
143 exception_ptr(nullptr_t) _NOEXCEPT;
144 exception_ptr(const exception_ptr& __other) _NOEXCEPT;
145 exception_ptr& operator=(const exception_ptr& __other) _NOEXCEPT;
146 exception_ptr& operator=(nullptr_t) _NOEXCEPT;
147 ~exception_ptr() _NOEXCEPT;
151 _LIBCPP_EXPORTED_FROM_ABI bool operator==(const exception_ptr& __x, const exception_ptr& __y) _NOEXCEPT;
153 inline _LIBCPP_HIDE_FROM_ABI bool operator!=(const exception_ptr& __x, const exception_ptr& __y) _NOEXCEPT {
157 _LIBCPP_EXPORTED_FROM_ABI void swap(exception_ptr&, exception_ptr&) _NOEXCEPT;
159 _LIBCPP_EXPORTED_FROM_ABI exception_ptr __copy_exception_ptr(void* __except, const void* __ptr);
160 _LIBCPP_EXPORTED_FROM_ABI exception_ptr current_exception() _NOEXCEPT;
161 [[__noreturn__]] _LIBCPP_EXPORTED_FROM_ABI void rethrow_exception(exception_ptr);
169 _LIBCPP_HIDE_FROM_ABI exception_ptr make_exception_ptr(_Ep __e) _NOEXCEPT {