std::is_error_condition_enum<std::errc> - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::is_error_condition_enum<std::errc>

From cppreference.com
< cpp‎ | error‎ | errc

Defined in header `<system_error>` |  |
template<> struct is_error_condition_enum<std::errc> : std::true_type; |  | (since C++11)

Specifies that std::errc is an error condition enum. This enables std::error_code and std::error_condition automatic conversions.

## Inherited from std::integral_constant

### Member constants

value [static] | true (public static member constant)

### Member functions

operator bool | converts the object to bool, returns `value` (public member function)

### Member types

Type | Definition
`value_type` | `bool`
`type` | std::integral_constant<bool, value>

### [edit] See also

is_error_condition_enum (C++11) | identifies an enumeration as an std::error_condition (class template) [edit]

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/error/errc/is_error_condition_enum&oldid=61364"