generic_category
代表泛型錯誤的分類。
const error_category& generic_category() noexcept;
備註
對像是generic_categoryerror_category的實作。
is_error_code_enum_v
is_error_code_enum 值的協助程式變數範本。
template <class T>
constexpr bool is_error_code_enum_v = is_error_code_enum<T>::value;
is_error_condition_enum_v
is_error_condition_enum 值的協助程式變數範本。
template <class T>
constexpr bool is_error_condition_enum_v = is_error_condition_enum<T>::value;
make_error_code
建立錯誤碼物件。
error_code make_error_code(std::errc error) noexcept;
參數
錯誤
要 std::errc 儲存在錯誤碼物件中的列舉值。
傳回值
錯誤碼物件。
make_error_condition
建立錯誤條件物件。
error_condition make_error_condition(std::errc error) noexcept;
參數
錯誤
要儲存在錯誤條件物件中的 std::errc 列舉值。
傳回值
錯誤條件物件。
system_category
表示作系統錯誤的類別。
const error_category& system_category() noexcept;
備註
對像是system_categoryerror_category的實作。