Namespaces
Variants

std::is_error_condition_enum<std::errc>

来自 zh.cppreference.net
 
 
 
 
 
定义于头文件 <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 >

参见

标识枚举类型为 std::error_condition
(类模板)