is_error_code_enum Class

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

Represents a type predicate that tests for the error_code enumeration.

template <_Enum>
class is_error_code_enum;

An instance of this type predicate holds true if the type _Enum is an enumeration value suitable for storing in an object of type error_code.

It is permissible to add specializations to this type for user-defined types.

Header: <system_error>

Namespace: std

<type_traits>
<system_error>

Show: