make_exceptional_future |
Defined in
<concurrency/ready_future.hpp> |
Creates a future that is fulfilled as failed
This function creates a future that is fulfilled as failed.
Parameters
The exception pointer |
|||
The executor that will be used for an attached continuation |
Returns
A future that is ready in an error state.
Creates a future that is fulfilled as failed