libstdc++
|
Public Member Functions | |
future (const future &)=delete | |
future (future &&__uf) noexcept | |
_Res | get () |
future & | operator= (const future &)=delete |
future & | operator= (future &&__fut) noexcept |
shared_future< _Res > | share () noexcept |
bool | valid () const noexcept |
void | wait () const |
template<typename _Rep , typename _Period > | |
future_status | wait_for (const chrono::duration< _Rep, _Period > &__rel) const |
template<typename _Clock , typename _Duration > | |
future_status | wait_until (const chrono::time_point< _Clock, _Duration > &__abs) const |
Protected Types | |
typedef __future_base::_Result< _Res > & | __result_type |
Protected Member Functions | |
__result_type | _M_get_result () const |
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 > | |
class | packaged_task |
class | promise< _Res > |
Primary template for future.
|
protectedinherited |
|
inlineconstexprnoexcept |
|
inlinenoexcept |
|
inlineprotectedinherited |
|
inlineprotectednoexceptinherited |
|
inline |
|
inlinenoexcept |
|
inlinenoexceptinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
friend |