future_error Class


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at future_error Class.

Describes an exception object that can be thrown by methods of types that manage future objects.

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

const error_code& code() const throw();

const char *what() const throw();


Header: future

Namespace: std

Header Files Reference
logic_error Class
error_code Class