Prev Up HomeNext

basic_result(S &&)

Implicit error_type constructor. Calls void hook_result_construction(T *, U &&) noexcept with this and S.

Requires: predicate::enable_error_converting_constructor<S> is true.

Complexity: Same as for error_type’s copy or move constructor. Constexpr, triviality and noexcept of underlying operations is propagated.

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


Prev Up HomeNext