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

Prev Up HomeNext

basic_outcome(S &&, P &&)

Implicit error_type + exception_type constructor. Calls void on_outcome_construction(T *, U &&, V &&) noexcept with this, S and P.

Requires: predicate::enable_error_exception_converting_constructor<S, P> is true.

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

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

Prev Up HomeNext