Lines Matching full:exception_ptr
161 // it uses to implement std::exception_ptr (which it declares as an alias of
162 // std::__exception_ptr::exception_ptr) is not directly exported to clients. So
163 // we have little choice but to hijack std::__exception_ptr::exception_ptr's
164 // (which fortunately has the same layout as our std::exception_ptr) copy
166 // stable ABI), and its rethrow_exception(std::__exception_ptr::exception_ptr)
172 struct exception_ptr
176 exception_ptr(const exception_ptr&) _NOEXCEPT;
177 exception_ptr& operator=(const exception_ptr&) _NOEXCEPT;
178 ~exception_ptr() _NOEXCEPT;
183 _LIBCPP_NORETURN void rethrow_exception(__exception_ptr::exception_ptr);
187 exception_ptr::~exception_ptr() _NOEXCEPT
192 reinterpret_cast<__exception_ptr::exception_ptr*>(this)->~exception_ptr();
195 _LIBCPP_WARNING("exception_ptr not yet implemented")
197 # warning exception_ptr not yet implemented
199 fprintf(stderr, "exception_ptr not yet implemented\n");
204 exception_ptr::exception_ptr(const exception_ptr& other) _NOEXCEPT
210 new (reinterpret_cast<void*>(this)) __exception_ptr::exception_ptr(
211 reinterpret_cast<const __exception_ptr::exception_ptr&>(other));
214 _LIBCPP_WARNING("exception_ptr not yet implemented")
216 # warning exception_ptr not yet implemented
218 fprintf(stderr, "exception_ptr not yet implemented\n");
223 exception_ptr& exception_ptr::operator=(const exception_ptr& other) _NOEXCEPT
234 *reinterpret_cast<__exception_ptr::exception_ptr*>(this) =
235 reinterpret_cast<const __exception_ptr::exception_ptr&>(other);
239 _LIBCPP_WARNING("exception_ptr not yet implemented")
241 # warning exception_ptr not yet implemented
243 fprintf(stderr, "exception_ptr not yet implemented\n");
272 exception_ptr current_exception() _NOEXCEPT
277 // return exception_ptr(__cxa_current_primary_exception());
278 exception_ptr ptr;
283 _LIBCPP_WARNING( "exception_ptr not yet implemented" )
285 # warning exception_ptr not yet implemented
287 fprintf(stderr, "exception_ptr not yet implemented\n");
295 void rethrow_exception(exception_ptr p)
302 rethrow_exception(reinterpret_cast<__exception_ptr::exception_ptr&>(p));
305 _LIBCPP_WARNING("exception_ptr not yet implemented")
307 # warning exception_ptr not yet implemented
309 fprintf(stderr, "exception_ptr not yet implemented\n");