std::is_error_condition_enum
Min standard notice:
Header: <system_error>
If T is an error condition enum (such as std::errc), this template provides the member constant value equal true. For any other type, value is false.
# Declarations
template< class T >
struct is_error_condition_enum;
(since C++11)