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