CatapultServer  v0.5.0.1 (Elephant)
Future.h File Reference
Include dependency graph for Future.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  catapult::thread::future< T >
 Provides a way to access the result of an asynchronous operation. More...
 
class  catapult::thread::promise< T >
 Stores the result of an asynchronous operation. More...
 

Namespaces

 catapult
 
 catapult::thread
 

Functions

template<typename T >
future< T > catapult::thread::make_ready_future (T &&value)
 Produces a future that is ready immediately and holds the given value. More...
 
template<typename T , typename E >
future< T > catapult::thread::make_exceptional_future (E ex)
 Produces a future that is ready immediately and holds the given exception (ex). More...