libstdc++
|
#include <future>
Public Member Functions | |
future (const future &)=delete | |
future (const future &)=delete | |
future (future &&__uf) noexcept | |
future (future &&__uf) noexcept | |
_Res | get () |
_Res & | get () |
future & | operator= (const future &)=delete |
future & | operator= (const future &)=delete |
future & | operator= (future &&__fut) noexcept |
future & | operator= (future &&__fut) noexcept |
shared_future< _Res > | share () noexcept |
shared_future< _Res & > | share () noexcept |
bool | valid () const noexcept |
void | wait () const |
future_status | wait_for (const chrono::duration< _Rep, _Period > &__rel) const |
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 | |
future< __async_result_of< _Fn, _Args... > > | async (launch, _Fn &&, _Args &&...) |
template<typename _Fn, typename... _Args> | |
future< __async_result_of< _Fn, _Args... > > | async (launch, _Fn &&, _Args &&...) |
class | packaged_task |
template<typename> | |
class | packaged_task |
class | promise< _Res & > |
class | promise< _Res > |
Partial specialization for future<R&>
|
protected |
|
inlineconstexprnoexcept |
|
inlinenoexcept |
|
inlineconstexprnoexcept |
|
inlinenoexcept |
|
inlineprotected |
|
inlineprotectednoexcept |
|
inline |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |