public member function
<system_error>

std::error_condition::message

string message() const;
獲取訊息
返回與錯誤條件關聯的訊息。

錯誤訊息由錯誤條件所屬的類別定義。

此函式返回的結果與呼叫以下成員相同
1
category().message(value())

引數



返回值

一個string物件,包含與錯誤條件關聯的訊息。

另見