libstdc++
std::packaged_task< _Res(_ArgTypes...)> Class Template Reference

Public Types

typedef _Res result_type
 

Public Member Functions

template<typename _Fn >
 packaged_task (const _Fn &__fn)
 
template<typename _Fn >
 packaged_task (_Fn &&__fn)
 
 packaged_task (_Res(*__fn)(_ArgTypes...))
 
template<typename _Fn , typename _Allocator >
 packaged_task (allocator_arg_t __tag, const _Allocator &__a, _Fn __fn)
 
 packaged_task (packaged_task &)=delete
 
 packaged_task (packaged_task &&__other)
 
future< _Res > get_future ()
 
void operator() (_ArgTypes...__args)
 
packaged_task & operator= (packaged_task &)=delete
 
packaged_task & operator= (packaged_task &&__other)
 
void reset ()
 
void swap (packaged_task &__other)
 
bool valid () const
 

Detailed Description

template<typename _Res, typename... _ArgTypes>
class std::packaged_task< _Res(_ArgTypes...)>

packaged_task

Definition at line 1203 of file future.


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