public member function
<future>

std::future_error::future_error

future_error (error_code ec);
Construct future_error
Constructs a future_error exception object with ec as error code.

Parameters

ec
An error_code object.

See also