次の方法で共有


future_error クラス

future オブジェクトを管理する型のメソッドによってスローされる例外オブジェクトを記述します。

構文

class future_error : public logic_error {
public:
    future_error(error_code code);

const error_code& code() const throw();

const char *what() const throw();
};

必要条件

ヘッダー:<future>

名前空間std:

関連項目

ヘッダー ファイル リファレンス
logic_error クラス
error_code クラス