|
ORIGINAL
|
Specialization of future for void results. More...
#include <async.h>

Public Member Functions | |
| future (const future &)=delete | |
| future & | operator= (const future &)=delete |
| future (future &&)=default | |
| future & | operator= (future &&)=default |
| void | result () |
| Waits for completion and checks for exceptions. | |
| bool | ready () const |
| Checks if the computation is completed. | |
| std::exception_ptr | exception () const noexcept |
| Gets the exception if computation failed. | |
| void | wait () |
| Waits until the computation completes. | |
Friends | |
| class | async |
Specialization of future for void results.
|
inlinenoexcept |
Gets the exception if computation failed.
|
inline |
Checks if the computation is completed.
|
inline |
Waits for completion and checks for exceptions.
| std::exception | if the computation threw an exception |