operator^ |
Defined in
<concurrency/future.hpp> |
Creates a recoverable future on the current object.
(1) | ||
(2) | ||
(3) | ||
(4) |
(1)
Constructs a recoverable continuation on an r-value future. It gets a future<T>
passed.
Parameters
Callable object that implements the continuation. |
(2)
Constructs a recoverable continuation that gets a future<T>
passed.
Parameters
Callable object that implements the continuation. |
(3)
Constructs a recoverable continuation that gets a future<T>
passed. It uses the provided executor.
Parameters
(4)
Constructs a recoverable continuation that gets a future<T>
passed. It uses the provided executor.
Parameters
Callable object that implements the continuation. |
Since the futures are value based, the recover method should be used to do the error handling. Its functionality is identical to .recover()
.