描述可以使用类型的方法引发管理 将来 对象的异常对象。
class future_error : public logic_error {
public:
future_error(error_code code);
const error_code& code() const throw();
const char *what() const throw();
};
要求
**标头:**将来
**命名空间:**std
描述可以使用类型的方法引发管理 将来 对象的异常对象。
class future_error : public logic_error {
public:
future_error(error_code code);
const error_code& code() const throw();
const char *what() const throw();
};
**标头:**将来
**命名空间:**std