名稱空間
變體
操作

std::error_code::clear

來自 cppreference.com
< cpp‎ | 錯誤‎ | 錯誤碼
 
 
 
 
 
void clear() noexcept;
(C++11 起)

將錯誤碼和錯誤類別替換為預設值。

等價於 *this = error_code(0, std::system_category())

[編輯] 引數

(無)

[編輯] 返回值

(無)