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 a snapshot of the develop branch, built from commit ad6398bcfe.
Prev Up HomeNext

explicit basic_result(basic_result<R, S, P> &&)

Explicit converting move constructor from compatible basic_result. Calls void on_result_move_construction(T *, U &&) noexcept with this and the input.

Requires: predicate::enable_make_error_code_compatible_conversion<R, S, P> is true.

Complexity: Same as for the move constructors of the underlying types. Constexpr, triviality and noexcept of underlying operations is propagated.

Guarantees: If an exception is thrown during the operation, the object is left in a partially completed state, as per the normal rules for the same operation on a struct.

Last revised: December 17, 2020 at 11:27:06 UTC


Prev Up HomeNext