Namespaces
Variants

std:: is_error_condition_enum <std::errc>

From cppreference.net
< cpp ‎ | error ‎ | errc
Utilities library
std::errc
Non-member functions
Helper classes
is_error_condition_enum
定义于头文件 <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
(类模板)