名稱空間
變體
操作

std::is_error_condition_enum<std::errc>

來自 cppreference.com
< cpp‎ | 錯誤‎ | 錯誤碼
 
 
 
 
std::errc
非成員函式
輔助類
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
[靜態]
true
(public static 成員常量)

成員函式

operator bool
將物件轉換為 bool,返回 value
(公開成員函式)
operator()
(C++14)
返回 value
(公開成員函式)

成員型別

型別 定義
value_type bool
型別 std::integral_constant<bool, value>

[編輯] 參見

將列舉標識為 std::error_condition
(類模板) [編輯]