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
[静态]
true
(公开静态成员常量)

成员函数

operator bool
转换对象为 bool ,返回 value
(公开成员函数)
operator()
(C++14)
返回 value
(公开成员函数)

成员类型

类型 定义
value_type bool
type std::integral_constant<bool, value>

参阅

鉴别作为 std::error_condition 的枚举
(类模板)

版本历史

  • (当前 | 先前) 2017年5月4日 (四) 07:20Fruderica讨论 | 贡献. . (541字节) (+541). . (以“{{cpp/title|is_error_condition_enum{{dsc small|<std::errc>}}}} {{cpp/error/errc/navbar}} {{dcl begin}} {{dcl header | system_error}} {{dcl | since=c++11 | template<...”为内容创建页面)