std::error_condition::clear

void clear() noexcept;
(C++11 起)

清除 error_condition 的状态。设置 error_code 为 0 , error_category 为 std::generic_category

参数

(无)

返回值

(无)

版本历史

  • (当前 | 先前) 2017年6月8日 (四) 08:06Fruderica讨论 | 贡献. . (345字节) (+345). . (以“{{cpp/error/error_condition/title | clear}} {{cpp/error/error_condition/navbar}} {{dcl begin}} {{dcl | since=c++11 | void clear() noexcept; }} {{dcl end}} 清除 er...”为内容创建页面)