#include <future>
Inherits std::__basic_future<_Res>.
PublicMemberFunctionsfuture (const future &)=deletefuture (future &&__uf) noexcept
Move constructor.
_Resget ()
Retrieving the value.
future & operator= (const future &)=deletefuture & operator= (future &&__fut) noexcept
shared_future< _Res > share () noexcept
bool valid () const noexcept
voidwait () const
template<typename _Rep , typename_Period > future_statuswait_for (const chrono::duration< _Rep, _Period
> &__rel) const
template<typename_Clock , typename_Duration > future_statuswait_until (const chrono::time_point<
_Clock, _Duration > &__abs) const
ProtectedTypestypedef __future_base::_Result< _Res > & __result_typeProtectedMemberFunctions
__result_type _M_get_result () const
Wait for the state to be ready and rethrow any stored exception.
void_M_swap (__basic_future &__that) noexcept
Friends
template<typename _Fn , typename... _Args> future< __async_result_of< _Fn, _Args... > > async (launch,
_Fn &&, _Args &&...)
template<typename > classpackaged_taskclasspromise<_Res>