.TH "std::__basic_future< _Res >" 3cxx "Tue Nov 27 2012" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::__basic_future< _Res > \- .SH SYNOPSIS .br .PP .PP Inherits \fBstd::__future_base\fP\&. .PP Inherited by \fBstd::future< _Res >\fP, and \fBstd::shared_future< _Res >\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fB__basic_future\fP (const \fB__basic_future\fP &)" .br .ti -1c .RI "\fB__basic_future\fP & \fBoperator=\fP (const \fB__basic_future\fP &)" .br .ti -1c .RI "bool \fBvalid\fP () const " .br .ti -1c .RI "void \fBwait\fP () const " .br .ti -1c .RI "template bool \fBwait_for\fP (const \fBchrono::duration\fP< _Rep, _Period > &__rel) const " .br .ti -1c .RI "template bool \fBwait_until\fP (const \fBchrono::time_point\fP< _Clock, _Duration > &__abs) const " .br .in -1c .SS "Static Public Member Functions" .in +1c .ti -1c .RI "template static \fB_Ptr\fP< \fB_Result_alloc\fP .br < _Res, _Allocator > >::type \fB_S_allocate_result\fP (const _Allocator &__a)" .br .in -1c .SS "Protected Types" .in +1c .ti -1c .RI "typedef \fB__future_base::_Result\fP .br < _Res > & \fB__result_type\fP" .br .ti -1c .RI "typedef \fBshared_ptr\fP< \fB_State_base\fP > \fB__state_type\fP" .br .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "\fB__basic_future\fP (const \fB__state_type\fP &__state)" .br .ti -1c .RI "\fB__basic_future\fP (const \fBshared_future\fP< _Res > &)" .br .ti -1c .RI "\fB__basic_future\fP (\fBshared_future\fP< _Res > &&)" .br .ti -1c .RI "\fB__basic_future\fP (\fBfuture\fP< _Res > &&)" .br .ti -1c .RI "\fB__result_type\fP \fB_M_get_result\fP ()" .br .ti -1c .RI "void \fB_M_swap\fP (\fB__basic_future\fP &__that)" .br .in -1c .SH "Detailed Description" .PP .SS "templateclass std::__basic_future< _Res >" Common implementation for future and \fBshared_future\fP\&. .PP Definition at line 502 of file future\&. .SH "Member Function Documentation" .PP .SS "template \fB__result_type\fP \fBstd::__basic_future\fP< _Res >::_M_get_result ()\fC [inline]\fP, \fC [protected]\fP" .PP Wait for the state to be ready and rethrow any stored exception\&. .PP Definition at line 545 of file future\&. .PP Referenced by std::future< _Res >::get(), std::future< void >::get(), and std::shared_future< _Res >::get()\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.