Home
last modified time | relevance | path

Searched refs:assume_error (Results 1 – 25 of 29) sorted by relevance

12

/third_party/boost/boost/outcome/detail/
Dbasic_result_error_observers.hpp46 constexpr error_type &assume_error() & noexcept in assume_error() function in detail::basic_result_error_observers
51 constexpr const error_type &assume_error() const &noexcept in assume_error() function in detail::basic_result_error_observers
56 constexpr error_type &&assume_error() && noexcept in assume_error() function in detail::basic_result_error_observers
61 constexpr const error_type &&assume_error() const &&noexcept in assume_error() function in detail::basic_result_error_observers
92 constexpr void assume_error() const noexcept { NoValuePolicy::narrow_error_check(*this); } in assume_error() function in detail::basic_result_error_observers
/third_party/boost/libs/outcome/test/tests/
Dissue0010.cpp80 BOOST_CHECK(!n.has_value() && *n.assume_error() == b);
85 udt2 e2(std::move(n).assume_error());
87 BOOST_CHECK(*n.assume_error() == nullptr); // NOLINT
Dexperimental-core-outcome-status.cpp178 b.assume_error();
Dcore-outcome.cpp220 b.assume_error();
/third_party/boost/boost/outcome/
Diostream_support.hpp121 s >> v.assume_error(); in BOOST_OUTCOME_TEMPLATE()
135 s << v.assume_error();
214 s >> v.assume_error(); in BOOST_OUTCOME_TEMPLATE()
232 s << v.assume_error();
Dtry.hpp67 BOOST_OUTCOME_TREQUIRES(BOOST_OUTCOME_TEXPR(std::declval<T>().assume_error()))
110 return failure(static_cast<T &&>(v).assume_error());
/third_party/boost/boost/outcome/experimental/status-code/
Dresult.hpp353 constexpr error_type &assume_error() & noexcept in assume_error() function in result
362 constexpr const error_type &assume_error() const &noexcept in assume_error() function in result
371 constexpr error_type &&assume_error() && noexcept in assume_error() function in result
380 constexpr const error_type &&assume_error() const &&noexcept in assume_error() function in result
/third_party/boost/libs/outcome/doc/src/content/reference/types/basic_result/
Das_failure_lvalue.md8 …d state. The error state is accessed using {{% api "const error_type &assume_error() const & noexc…
Das_failure_rvalue.md8 … destructive. The error state is accessed using {{% api "error_type &&assume_error() && noexcept" …
Dassume_error_lvalue.md2 title = "`error_type &assume_error() & noexcept`"
Dassume_error_lvalue_const.md2 title = "`const error_type &assume_error() const & noexcept`"
Dassume_error_rvalue_const.md2 title = "`const error_type &&assume_error() const && noexcept`"
Dassume_error_rvalue.md2 title = "`error_type &&assume_error() && noexcept`"
/third_party/boost/libs/outcome/doc/src/content/reference/types/basic_outcome/
Das_failure_lvalue.md8 …r and/or exception state is accessed using {{% api "const error_type &assume_error() const & noexc…
Dassume_error_lvalue_const.md2 title = "`const error_type &assume_error() const & noexcept`"
Dassume_error_rvalue.md2 title = "`error_type &&assume_error() && noexcept`"
Dassume_error_rvalue_const.md2 title = "`const error_type &&assume_error() const && noexcept`"
Dassume_error_lvalue.md2 title = "`error_type &assume_error() & noexcept`"
Das_failure_rvalue.md8 …e error and exception states are accessed using {{% api "error_type &&assume_error() && noexcept" …
/third_party/boost/libs/outcome/doc/src/content/reference/policies/
Derror_code_throw_as_system_error_result.md8 …overed free function `outcome_throw_as_system_error_with_payload(impl.assume_error())` should be c…
Dexception_ptr_rethrow_result.md8 Policy class defining that the ADL discovered free function `rethrow_exception(impl.assume_error())…
Dexception_ptr_rethrow_outcome.md8 …assume_exception())` if possible, followed by `rethrow_exception(impl.assume_error())` should be c…
Derror_code_throw_as_system_error_outcome.md8 …overed free function `outcome_throw_as_system_error_with_payload(impl.assume_error())` should be c…
/third_party/boost/libs/outcome/doc/src/content/recipes/
Dforeign-try.md15 - In order of preference, a public `.as_failure()`/`.assume_error()`/`.error()`
/third_party/boost/libs/outcome/test/
Dexpected-pass.cpp125 constexpr const E &error() const & { return base::assume_error(); } in error()
126 constexpr E &error() & { return base::assume_error(); } in error()
127 constexpr const E &&error() const && { return base::assume_error(); } in error()
128 constexpr E &error() && { return base::assume_error(); } in error()

12