std::is_error_condition_enum<std::errc>
Определено в заголовке <system_error> | ||
|---|---|---|
template<> struct is_error_condition_enum<std::errc> : std::true_type; | (начиная с C++11) |
Указывает, что std::errc является перечислением условий ошибки. Это обеспечивает неявное преобразование в std::error_condition.
Унаследовано от std::integral_constant
Константы-члены
|
value
[static] |
true (открытая статическая константа-член) |
Функции-члены
|
operator bool | преобразует объект в bool, возвращает value (открытая функция-член) |
|
operator()
(C++14) | возвращает value (открытая функция-член) |
Типы-члены
| Тип | Определение |
|---|---|
value_type | bool |
type | std::integral_constant<bool,value> |
См. также
|
(C++11) | определяет перечисление как std::error_condition (шаблон класса) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/cpp/error/errc/is_error_condition_enum