Manpages - std___future_base.3
Table of Contents
NAME
std::__future_base - Base class and enclosing scope.
SYNOPSIS
Inherited by std::__basic_future< _Res & >, std::__basic_future< void >, and std::__basic_future< _Res >.
Classes
struct _Result
A result object that has storage for an object of type _Res.
struct _Result< _Res & >
Partial specialization for reference types.
struct _Result< void >
Explicit specialization for void.
struct _Result_alloc
A result object that uses an allocator.
struct _Result_base
Base class for results.
Public Types
template<typename _Res > using _Ptr = *unique_ptr*< _Res,
_Result_base::_Deleter >
A unique_ptr for result objects.
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 _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 197 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 222 of file future.
using std::__future_base::_State_base = _State_baseV2
Definition at line 597 of file future.
Member Function Documentation
template<typename _Res , typename _Allocator > static *_Ptr*<
_Result_alloc*< _Res, _Allocator > > std::__future_base::_S_allocate_result (const _Allocator & __a)= [inline]=, = [static]= Definition at line *287 of file future.
template<typename _Res , typename _Tp > static *_Ptr*< *_Result*<
_Res > > std::__future_base::_S_allocate_result (const std::allocator*< _Tp > & __a)= [inline]=, = [static]= Definition at line *300 of file future.
template<typename _Res_ptr , typename _BoundFn > static _Task_setter<
_Res_ptr, _BoundFn > std::__future_base::_S_task_setter (_Res_ptr & __ptr, _BoundFn & __call)= [inline]=, = [static]= Definition at line 621 of file future.
Author
Generated automatically by Doxygen for libstdc++ from the source code.