Simulant  21.12-166
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Public Member Functions | Friends | List of all members
smlt::Promise< T > Class Template Reference

Public Member Functions

bool is_ready () const
 
T & value () const
 
template<typename Func >
auto then (Func &&func) -> Promise< typename promise_impl::func_traits< typename std::decay< Func >::type >::result_type >
 
bool is_initialized () const
 

Friends

template<typename Func >
Promise< typename std::result_of< Func()>::type > cr_async (Func func)
 

The documentation for this class was generated from the following file: