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(failure_type<EC> &&)

Implicit error-from-failure-type-sugar move constructor used to disambiguate the construction of the error type. Calls void hook_outcome_move_construction(T *, U &&) noexcept with this and failure_type<EC> &&.

Requires: predicate::enable_make_error_code_compatible_conversion<void, EC, void, void> is true.

Complexity: Same as for the error_type constructor which accepts EC. Constexpr, triviality and noexcept of underlying operations is propagated.

Last revised: October 10, 2019 at 18:14:56 +0100


Prev Up HomeNext