std::error_code::clear
来自 cppreference.cn
< cpp | error | error code
void clear() noexcept; |
(since C++11) (自 C++11 起) | |
将错误代码和错误类别替换为默认值。
等效于 *this = error_code(0, std::system_category())。
[edit] 参数
(无)
[edit] 返回值
(无)