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

basic_outcome(S &&) - Boost.Outcome documentation
Prev Up HomeNext

basic_outcome(S &&)

Implicit error_type constructor. Calls void hook_outcome_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