std::error_code::clear_C++中文网

C++ 参考手册

以默认值替换错误码和错误类别。

等价于 *this = error_code(0, std::system_category()) 。

参数

(无)

返回值

(无)