future_error 类

描述可以由类型方法引发托管 未来 对象的异常对象。

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 类

其他资源

C++ 标准库头文件