1+++
2title = "`basic_result(ErrorCondEnum &&)`"
3description = "Implicit `error_type` from `ErrorCondEnum` constructor. Available if `predicate::enable_error_condition_converting_constructor<ErrorCondEnum>` is true. Constexpr, triviality and noexcept propagating."
4categories = ["constructors", "implicit-constructors", "converting-constructors"]
5weight = 200
6+++
7
8Implicit `error_type` from `ErrorCondEnum` constructor. Calls {{% api "void hook_result_construction(T *, U &&) noexcept" %}} with `this` and `ErrorCondEnum`.
9
10*Requires*: `predicate::enable_error_condition_converting_constructor<R>` is true.
11
12*Complexity*: Same as for `error_type`'s copy or move constructor from the result of `make_error_code(ErrorCondEnum)`. Constexpr, triviality and noexcept of underlying operations is propagated.
13
14*Guarantees*: If an exception is thrown during the operation, the state of the input is left indeterminate.
15