is_error_type_enum<E, Enum>
A customisable integral constant type true for E
types constructible from Enum
types which are to receive error throwing no-value policies
Overridable: By template specialisation into the trait
namespace.
Default: False. Specialisations exist for:
<outcome/boost_result.hpp>
boost::system::error_code
toboost::system::is_error_condition_enum<Enum>::value
.
<outcome/std_result.hpp>
std::error_code
tostd::is_error_condition_enum<Enum>::value
.
Namespace: OUTCOME_V2_NAMESPACE::trait
Header: <outcome/trait.hpp>