libstdc++
std::__future_base Struct Reference
Inheritance diagram for std::__future_base:
[legend]

Classes

struct  _Result
 
struct  _Result< _Res & >
 
struct  _Result< void >
 
struct  _Result_alloc
 
struct  _Result_base
 

Public Types

template<typename _Res >
using _Ptr = unique_ptr< _Res, _Result_base::_Deleter >
 
using _State_base = _State_baseV2
 

Static Public Member Functions

template<typename _Res , typename _Allocator >
static _Ptr< _Result_alloc< _Res, _Allocator > > _S_allocate_result (const _Allocator &__a)
 
template<typename _Res , typename _Tp >
static _Ptr< _Result< _Res > > _S_allocate_result (const std::allocator< _Tp > &__a)
 
template<typename _BoundFn >
static std::shared_ptr< _State_base > _S_make_async_state (_BoundFn &&__fn)
 
template<typename _BoundFn >
static std::shared_ptr< _State_base > _S_make_deferred_state (_BoundFn &&__fn)
 
template<typename _Res_ptr , typename _BoundFn >
static _Task_setter< _Res_ptr, _BoundFn > _S_task_setter (_Res_ptr &__ptr, _BoundFn &__call)
 

Detailed Description

Base class and enclosing scope.

Definition at line 183 of file future.

Member Typedef Documentation

template<typename _Res >
using std::__future_base::_Ptr = unique_ptr<_Res, _Result_base::_Deleter>

A unique_ptr for result objects.

Definition at line 208 of file future.


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