.TH "std::__future_base" 3cxx "Sun Jan 8 2023" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::__future_base \- Base class and enclosing scope\&. .SH SYNOPSIS .br .PP .PP Inherited by \fBstd::__basic_future< _Res & >\fP, \fBstd::__basic_future< void >\fP, and \fBstd::__basic_future< _Res >\fP\&. .SS "Classes" .in +1c .ti -1c .RI "struct \fB_Result\fP" .br .RI "A result object that has storage for an object of type _Res\&. " .ti -1c .RI "struct \fB_Result< _Res & >\fP" .br .RI "Partial specialization for reference types\&. " .ti -1c .RI "struct \fB_Result< void >\fP" .br .RI "Explicit specialization for void\&. " .ti -1c .RI "struct \fB_Result_alloc\fP" .br .RI "A result object that uses an allocator\&. " .ti -1c .RI "struct \fB_Result_base\fP" .br .RI "Base class for results\&. " .in -1c .SS "Public Types" .in +1c .ti -1c .RI "template using \fB_Ptr\fP = \fBunique_ptr\fP< _Res, _Result_base::_Deleter >" .br .RI "A unique_ptr for result objects\&. " .ti -1c .RI "using \fB_State_base\fP = _State_baseV2" .br .in -1c .SS "Static Public Member Functions" .in +1c .ti -1c .RI "template static \fB_Ptr\fP< \fB_Result_alloc\fP< _Res, _Allocator > > \fB_S_allocate_result\fP (const _Allocator &__a)" .br .ti -1c .RI "template static \fB_Ptr\fP< \fB_Result\fP< _Res > > \fB_S_allocate_result\fP (const \fBstd::allocator\fP< _Tp > &__a)" .br .ti -1c .RI "template static _Task_setter< _Res_ptr, _BoundFn > \fB_S_task_setter\fP (_Res_ptr &__ptr, _BoundFn &__call)" .br .in -1c .SH "Detailed Description" .PP Base class and enclosing scope\&. .PP Definition at line \fB198\fP of file \fBfuture\fP\&. .SH "Member Typedef Documentation" .PP .SS "template using \fBstd::__future_base::_Ptr\fP = \fBunique_ptr\fP<_Res, _Result_base::_Deleter>" .PP A unique_ptr for result objects\&. .PP Definition at line \fB223\fP of file \fBfuture\fP\&. .SS "using std::__future_base::_State_base = _State_baseV2" .PP Definition at line \fB598\fP of file \fBfuture\fP\&. .SH "Member Function Documentation" .PP .SS "template static \fB_Ptr\fP< \fB_Result_alloc\fP< _Res, _Allocator > > std::__future_base::_S_allocate_result (const _Allocator & __a)\fC [inline]\fP, \fC [static]\fP" .PP Definition at line \fB288\fP of file \fBfuture\fP\&. .SS "template static \fB_Ptr\fP< \fB_Result\fP< _Res > > std::__future_base::_S_allocate_result (const \fBstd::allocator\fP< _Tp > & __a)\fC [inline]\fP, \fC [static]\fP" .PP Definition at line \fB301\fP of file \fBfuture\fP\&. .SS "template static _Task_setter< _Res_ptr, _BoundFn > std::__future_base::_S_task_setter (_Res_ptr & __ptr, _BoundFn & __call)\fC [inline]\fP, \fC [static]\fP" .PP Definition at line \fB622\fP of file \fBfuture\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.