std::error_condition::message

std::string message() const;
(C++11 起)

为存储的 error_code 和 error_category 返回解释性字符串。等效于调用 category().message(value())

参数

(无)

返回值

存储的 error_code 和 error_category 的解释性字符串。

异常

(无)

版本历史

  • (当前 | 先前) 2017年6月8日 (四) 08:03Fruderica讨论 | 贡献. . (435字节) (+435). . (以“{{cpp/error/error_condition/title | message}} {{cpp/error/error_condition/navbar}} {{dcl begin}} {{dcl | since=c++11 | std::string message() const; }} {{dcl end}} ...”为内容创建页面)