Home | History | Annotate | Download | only in src

Lines Matching refs:exception_ptr

155 // it uses to implement std::exception_ptr (which it declares as an alias of
156 // std::__exception_ptr::exception_ptr) is not directly exported to clients. So
157 // we have little choice but to hijack std::__exception_ptr::exception_ptr's
158 // (which fortunately has the same layout as our std::exception_ptr) copy
160 // stable ABI), and its rethrow_exception(std::__exception_ptr::exception_ptr)
166 struct exception_ptr
170 exception_ptr(const exception_ptr&) _NOEXCEPT;
171 exception_ptr& operator=(const exception_ptr&) _NOEXCEPT;
172 ~exception_ptr() _NOEXCEPT;
177 _LIBCPP_NORETURN void rethrow_exception(__exception_ptr::exception_ptr);
181 exception_ptr::~exception_ptr() _NOEXCEPT
186 reinterpret_cast<__exception_ptr::exception_ptr*>(this)->~exception_ptr();
189 _LIBCPP_WARNING("exception_ptr not yet implemented")
191 # warning exception_ptr not yet implemented
193 printf("exception_ptr not yet implemented\n");
198 exception_ptr::exception_ptr(const exception_ptr& other) _NOEXCEPT
204 new (reinterpret_cast<void*>(this)) __exception_ptr::exception_ptr(
205 reinterpret_cast<const __exception_ptr::exception_ptr&>(other));
208 _LIBCPP_WARNING("exception_ptr not yet implemented")
210 # warning exception_ptr not yet implemented
212 printf("exception_ptr not yet implemented\n");
217 exception_ptr& exception_ptr::operator=(const exception_ptr& other) _NOEXCEPT
228 *reinterpret_cast<__exception_ptr::exception_ptr*>(this) =
229 reinterpret_cast<const __exception_ptr::exception_ptr&>(other);
233 _LIBCPP_WARNING("exception_ptr not yet implemented")
235 # warning exception_ptr not yet implemented
237 printf("exception_ptr not yet implemented\n");
266 exception_ptr current_exception() _NOEXCEPT
271 // return exception_ptr(__cxa_current_primary_exception());
272 exception_ptr ptr;
277 _LIBCPP_WARNING( "exception_ptr not yet implemented" )
279 # warning exception_ptr not yet implemented
281 printf("exception_ptr not yet implemented\n");
289 void rethrow_exception(exception_ptr p)
296 rethrow_exception(reinterpret_cast<__exception_ptr::exception_ptr&>(p));
299 _LIBCPP_WARNING("exception_ptr not yet implemented")
301 # warning exception_ptr not yet implemented
303 printf("exception_ptr not yet implemented\n");