Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
Prev Up HomeNext

basic_outcome(ErrorCondEnum &&)

Implicit error_type from ErrorCondEnum constructor. Calls void hook_outcome_construction(T *, U &&) noexcept with this and ErrorCondEnum.

Requires: predicate::enable_error_condition_converting_constructor<R> is true.

Complexity: Same as for error_type’s copy or move constructor from the result of make_error_code(ErrorCondEnum). Constexpr, triviality and noexcept of underlying operations is propagated.

Guarantees: If an exception is thrown during the operation, the state of the input is left indeterminate.

Last revised: January 31, 2019 at 01:07:35 UTC


Prev Up HomeNext