basic_outcome(P &&) - Boost.Outcome documentation

# `basic_outcome(P &&)`

Implicit `exception_type` constructor. Calls `void hook_outcome_construction(T *, U &&) noexcept` with `this` and `P`.

Requires: `predicate::enable_exception_converting_constructor<P>` is true.

Complexity: Same as for `exception_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