logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

std::__future_base::_Result_alloc< _Res, _Alloc > - A result object that uses an allocator.

Author

       Generated automatically by Doxygen for libstdc++ from the source code.

                                                    libststd::__future_base::_Result_alloc<_Res,_Alloc>(3cxx)

Detailed Description

template<typename_Res,typename_Alloc>
       struct std::__future_base::_Result_alloc< _Res, _Alloc >"A result object that uses an allocator.

Name

       std::__future_base::_Result_alloc< _Res, _Alloc > - A result object that uses an allocator.

Synopsis

       #include <future>

       Inherits std::__future_base::_Result<_Res>, and _Alloc.

   PublicTypesusing__allocator_type = __alloc_rebind< _Alloc, _Result_alloc >
       typedef_Resresult_typePublicMemberFunctions_Result_alloc (const _Alloc &__a)
       void_M_set (_Res &&__res)
       void_M_set (const_Res &__res)
       _Res & _M_value () noexceptPublicAttributesexception_ptr_M_error

See Also