1+++
2title = "`basic_outcome(S &&, P &&)`"
3description = "Implicit `error_type` + `exception_type` constructor. Available if `predicate::enable_error_exception_converting_constructor<S, P>` is true. Constexpr, triviality and noexcept propagating."
4categories = ["constructors", "implicit-constructors", "converting-constructors"]
5weight = 202
6+++
7
8Implicit `error_type` + `exception_type` constructor. Calls {{% api "void hook_outcome_construction(T *, U &&, V &&) noexcept" %}} with `this`, `S` and `P`.
9
10*Requires*: `predicate::enable_error_exception_converting_constructor<S, P>` is true.
11
12*Complexity*: Same as for `error_type`'s and `exception_type`'s copy or move constructor. Constexpr, triviality and noexcept of underlying operations is propagated.