std::is_error_condition_enum<std::errc>
来自 cppreference.cn
定义于头文件 <system_error> |
||
template<> struct is_error_condition_enum<std::errc> : std::true_type; |
(自 C++11 起) | |
指定 std::errc 是一个错误条件枚举。这使得能够隐式转换为 std::error_condition。
目录 |
继承自 std::integral_constant
成员常量
value [静态] |
true (公共静态成员常量) |
成员函数
operator bool |
将对象转换为 bool,返回 value (公共成员函数) |
operator() (C++14) |
返回 value (公共成员函数) |
成员类型
类型 | 定义 |
value_type
|
bool |
type
|
std::integral_constant<bool, value> |
[编辑] 参见
(C++11) |
标识枚举为 std::error_condition (类模板) |