Home
last modified time | relevance | path

Searched refs:make_exception_ptr (Results 1 – 25 of 45) sorted by relevance

12

/third_party/boost/libs/thread/test/sync/futures/promise/
Dset_exception_pass.cpp41 exception_ptr make_exception_ptr(T v) in make_exception_ptr() function
54 p.set_exception(boost::make_exception_ptr(3)); in main()
66 p.set_exception(boost::make_exception_ptr(3)); in main()
82 p.set_exception_deferred(boost::make_exception_ptr(3)); in main()
96 p.set_exception(boost::make_exception_ptr(3)); in main()
Dset_exception_at_thread_exit_pass.cpp41 exception_ptr make_exception_ptr(T v) in make_exception_ptr() function
55 p.set_exception_at_thread_exit(boost::make_exception_ptr(3));
/third_party/boost/libs/thread/test/sync/futures/future/
Dget_pass.cpp50 exception_ptr make_exception_ptr(T v) { in make_exception_ptr() function
64 p.set_exception(boost::make_exception_ptr(3)); in func2()
79 p.set_exception(boost::make_exception_ptr(3.5)); in func4()
91 p.set_exception(boost::make_exception_ptr(4)); in func6()
123 p.set_exception(boost::make_exception_ptr(3)); in main()
180 p.set_exception(boost::make_exception_ptr(3.5)); in main()
203 p.set_exception(boost::make_exception_ptr(3.5)); in main()
241 p.set_exception(boost::make_exception_ptr(4)); in main()
Dget_or_pass.cpp40 exception_ptr make_exception_ptr(T v) { in make_exception_ptr() function
54 p.set_exception(boost::make_exception_ptr(3)); in func2()
69 p.set_exception(boost::make_exception_ptr(3.5)); in func4()
81 p.set_exception(boost::make_exception_ptr(4)); in func6()
113 p.set_exception(boost::make_exception_ptr(3)); in main()
162 p.set_exception(boost::make_exception_ptr(3.5)); in main()
/third_party/boost/libs/thread/test/sync/futures/shared_future/
Dget_pass.cpp42 exception_ptr make_exception_ptr(T v) { in make_exception_ptr() function
56 p.set_exception(boost::make_exception_ptr(3)); in func2()
71 p.set_exception(boost::make_exception_ptr(3.5)); in func4()
83 p.set_exception(boost::make_exception_ptr(4)); in func6()
109 p.set_exception(boost::make_exception_ptr(3)); in main()
149 p.set_exception(boost::make_exception_ptr(3.5)); in main()
184 p.set_exception(boost::make_exception_ptr(4)); in main()
/third_party/boost/libs/outcome/doc/src/content/reference/traits/
Dis_exception_ptr_available.md6 …onstructed from a `T` e.g. if there exists an ADL discovered free function `make_exception_ptr(T)`.
11 … ADL discovery of `make_exception_ptr(T)`. Note that the STL defines an ADL discovered free functi…
/third_party/boost/libs/outcome/doc/src/content/reference/functions/policy/
Dexception_ptr.md3 …td::exception_ptr` from the input via ADL discovery of a suitable `make_exception_ptr(T)` function…
6 …exception_ptr" %}} from the input via ADL discovery of a suitable `make_exception_ptr(T)` function.
Dbasic_outcome_failure_exception_from_error.md9 and `boost::system::error_code`, these return `std::make_exception_ptr(std::system_error(ec))`
/third_party/boost/libs/fiber/test/
Dtest_promise_dispatch.cpp349 p1.set_exception( std::make_exception_ptr( my_exception() ) ); in test_promise_set_exception()
354 p1.set_exception( std::make_exception_ptr( my_exception() ) ); in test_promise_set_exception()
373 p1.set_exception( std::make_exception_ptr( my_exception() ) ); in test_promise_set_exception_ref()
378 p1.set_exception( std::make_exception_ptr( my_exception() ) ); in test_promise_set_exception_ref()
399 p1.set_exception( std::make_exception_ptr( my_exception() ) ); in test_promise_set_exception_void()
404 p1.set_exception( std::make_exception_ptr( my_exception() ) ); in test_promise_set_exception_void()
Dtest_promise_post.cpp349 p1.set_exception( std::make_exception_ptr( my_exception() ) ); in test_promise_set_exception()
354 p1.set_exception( std::make_exception_ptr( my_exception() ) ); in test_promise_set_exception()
373 p1.set_exception( std::make_exception_ptr( my_exception() ) ); in test_promise_set_exception_ref()
378 p1.set_exception( std::make_exception_ptr( my_exception() ) ); in test_promise_set_exception_ref()
399 p1.set_exception( std::make_exception_ptr( my_exception() ) ); in test_promise_set_exception_void()
404 p1.set_exception( std::make_exception_ptr( my_exception() ) ); in test_promise_set_exception_void()
/third_party/boost/libs/asio/include/boost/asio/execution/detail/
Das_invocable.hpp72 std::make_exception_ptr(receiver_invocation_error())); in operator ()()
125 std::make_exception_ptr(receiver_invocation_error()));
/third_party/boost/boost/asio/execution/detail/
Das_invocable.hpp72 std::make_exception_ptr(receiver_invocation_error())); in operator ()()
125 std::make_exception_ptr(receiver_invocation_error()));
/third_party/boost/libs/outcome/test/tests/
Dexperimental-core-outcome-status.cpp127 …auto e = BOOST_OUTCOME_PREVENT_CONVERSION_WORKAROUND::make_exception_ptr(BOOST_OUTCOME_PREVENT_CON…
152 auto e = BOOST_OUTCOME_PREVENT_CONVERSION_WORKAROUND::make_exception_ptr(Foo());
163 …auto e = BOOST_OUTCOME_PREVENT_CONVERSION_WORKAROUND::make_exception_ptr(BOOST_OUTCOME_PREVENT_CON…
/third_party/boost/boost/outcome/detail/
Dbasic_result_storage.hpp191 …except(detail::is_nothrow_constructible<_value_type, T> &&noexcept(make_exception_ptr(std::declval… in basic_result_storage()
193 , _error(make_exception_ptr(o._error)) in basic_result_storage()
197 …except(detail::is_nothrow_constructible<_value_type, T> &&noexcept(make_exception_ptr(std::declval… in basic_result_storage()
199 , _error(make_exception_ptr(static_cast<U &&>(o._error))) in basic_result_storage()
/third_party/boost/libs/asio/test/archetypes/
Ddeprecated_async_ops.hpp105 std::make_exception_ptr(std::runtime_error("blah")))); in deprecated_async_op_ex_0()
180 std::make_exception_ptr(std::runtime_error("blah")), 0)); in deprecated_async_op_ex_1()
257 std::make_exception_ptr(std::runtime_error("blah")), 0, 0.0)); in deprecated_async_op_ex_2()
334 std::make_exception_ptr(std::runtime_error("blah")), in deprecated_async_op_ex_3()
Dasync_ops.hpp116 std::make_exception_ptr(std::runtime_error("blah"))), a); in BOOST_ASIO_INITFN_RESULT_TYPE()
212 std::make_exception_ptr(std::runtime_error("blah")), 0), a); in BOOST_ASIO_INITFN_RESULT_TYPE()
309 std::make_exception_ptr(std::runtime_error("blah")), 0, 0.0), a); in BOOST_ASIO_INITFN_RESULT_TYPE()
406 std::make_exception_ptr(std::runtime_error("blah")), in BOOST_ASIO_INITFN_RESULT_TYPE()
/third_party/boost/boost/outcome/
Dstd_outcome.hpp41 …utcome_failure_exception_from_error(const error_code &ec) { return make_exception_ptr(system_error… in basic_outcome_failure_exception_from_error()
Dbasic_result.hpp541 … &&noexcept(make_exception_ptr(std::declval<U>()))) in BOOST_OUTCOME_TEMPLATE()
555 … &&noexcept(make_exception_ptr(std::declval<U>()))) in BOOST_OUTCOME_TEMPLATE()
713 …_exception_ptr_compatible_copy_conversion_tag()) noexcept(noexcept(make_exception_ptr(std::declval… in BOOST_OUTCOME_TREQUIRES()
714 …: base{in_place_type<error_type_if_enabled>, make_exception_ptr(detail::extract_error_from_failure… in BOOST_OUTCOME_TREQUIRES()
726 …_exception_ptr_compatible_move_conversion_tag()) noexcept(noexcept(make_exception_ptr(std::declval… in BOOST_OUTCOME_TREQUIRES()
727 …: base{in_place_type<error_type_if_enabled>, make_exception_ptr(detail::extract_error_from_failure… in BOOST_OUTCOME_TREQUIRES()
/third_party/boost/boost/process/detail/
Don_exit.hpp30 std::make_exception_ptr(process_error(ec, "on_exit failed with error")) in on_exit_from_future()
/third_party/boost/libs/fiber/examples/
Dadapt_callbacks.cpp226 std::make_exception_ptr( in read()
238 std::make_exception_ptr( in read()
/third_party/boost/libs/outcome/doc/src/content/reference/types/basic_outcome/
Dfailure.md12 and `boost::system::error_code`, these return `std::make_exception_ptr(std::system_error(ec))`
/third_party/boost/libs/asio/include/boost/asio/impl/
Duse_future.hpp337 std::make_exception_ptr( in operator ()()
391 std::make_exception_ptr( in operator ()()
464 std::make_exception_ptr( in operator ()()
485 std::make_exception_ptr( \
/third_party/boost/boost/asio/impl/
Duse_future.hpp337 std::make_exception_ptr( in operator ()()
391 std::make_exception_ptr( in operator ()()
464 std::make_exception_ptr( in operator ()()
485 std::make_exception_ptr( \
/third_party/boost/boost/process/detail/posix/
Dasync_in.hpp59 promise_->set_exception(std::make_exception_ptr(process_error(e))); in on_success()
/third_party/boost/libs/asio/include/boost/asio/detail/
Dthread_info_base.hpp147 std::make_exception_ptr<multiple_exceptions>( in capture_current_exception()

12