is_error_code_enum Class


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on

The latest version of this topic can be found at is_error_code_enum Class.

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