libstdc++
|
Public Member Functions | |
promise (promise &&__rhs) | |
template<typename _Allocator > | |
promise (allocator_arg_t, const _Allocator &__a) | |
promise (const promise &)=delete | |
future< _Res > | get_future () |
promise & | operator= (promise &&__rhs) |
promise & | operator= (const promise &)=delete |
void | set_exception (exception_ptr __p) |
void | set_value (const _Res &__r) |
void | set_value (_Res &&__r) |
void | swap (promise &__rhs) |
Friends | |
template<typename , typename > | |
class | _State::_Setter |
Primary template for promise.