libstdc++
std::promise< _Res & > Class Template Reference

Public Member Functions

 promise (promise &&__rhs)
 
template<typename _Allocator >
 promise (allocator_arg_t, const _Allocator &__a)
 
 promise (const promise &)=delete
 
future< _Res & > get_future ()
 
promiseoperator= (promise &&__rhs)
 
promiseoperator= (const promise &)=delete
 
void set_exception (exception_ptr __p)
 
void set_value (_Res &__r)
 
void swap (promise &__rhs)
 

Friends

template<typename , typename >
class _State::_Setter
 

Detailed Description

template<typename _Res>
class std::promise< _Res & >

Partial specialization for promise<R&>

Definition at line 950 of file future.


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