Lines Matching defs:exception_ptr

157 // it uses to implement std::exception_ptr (which it declares as an alias of
158 // std::__exception_ptr::exception_ptr) is not directly exported to clients. So
159 // we have little choice but to hijack std::__exception_ptr::exception_ptr's
160 // (which fortunately has the same layout as our std::exception_ptr) copy
162 // stable ABI), and its rethrow_exception(std::__exception_ptr::exception_ptr)
168 struct exception_ptr
172 exception_ptr(const exception_ptr&) _NOEXCEPT;
173 exception_ptr& operator=(const exception_ptr&) _NOEXCEPT;
174 ~exception_ptr() _NOEXCEPT;
179 _LIBCPP_NORETURN void rethrow_exception(__exception_ptr::exception_ptr);
183 exception_ptr::~exception_ptr() _NOEXCEPT
188 reinterpret_cast<__exception_ptr::exception_ptr*>(this)->~exception_ptr();
191 _LIBCPP_WARNING("exception_ptr not yet implemented")
193 # warning exception_ptr not yet implemented
195 fprintf(stderr, "exception_ptr not yet implemented\n");
200 exception_ptr::exception_ptr(const exception_ptr& other) _NOEXCEPT
206 new (reinterpret_cast<void*>(this)) __exception_ptr::exception_ptr(
207 reinterpret_cast<const __exception_ptr::exception_ptr&>(other));
210 _LIBCPP_WARNING("exception_ptr not yet implemented")
212 # warning exception_ptr not yet implemented
214 fprintf(stderr, "exception_ptr not yet implemented\n");
219 exception_ptr& exception_ptr::operator=(const exception_ptr& other) _NOEXCEPT
230 *reinterpret_cast<__exception_ptr::exception_ptr*>(this) =
231 reinterpret_cast<const __exception_ptr::exception_ptr&>(other);
235 _LIBCPP_WARNING("exception_ptr not yet implemented")
237 # warning exception_ptr not yet implemented
239 fprintf(stderr, "exception_ptr not yet implemented\n");
268 exception_ptr current_exception() _NOEXCEPT
273 // return exception_ptr(__cxa_current_primary_exception());
274 exception_ptr ptr;
279 _LIBCPP_WARNING( "exception_ptr not yet implemented" )
281 # warning exception_ptr not yet implemented
283 fprintf(stderr, "exception_ptr not yet implemented\n");
291 void rethrow_exception(exception_ptr p)
298 rethrow_exception(reinterpret_cast<__exception_ptr::exception_ptr&>(p));
301 _LIBCPP_WARNING("exception_ptr not yet implemented")
303 # warning exception_ptr not yet implemented
305 fprintf(stderr, "exception_ptr not yet implemented\n");