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

Implicit exception-from-failure-type-sugar copy constructor used to disambiguate the construction of the exception type. Calls void on_outcome_copy_construction(T *, U &&) noexcept with this and const failure_type<EP> &.

Requires: predicate::enable_compatible_conversion<void, void, EP, void> is true.

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

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

Prev Up HomeNext