STD::__FUTURE_BASE__RESULT_ALLOC(3)

πŸ“¦
version 12.2.1 Β· 2 versions
, in centos-stream 9

NAME πŸ’–

okay so this is the manual page for std::__future_base::_Result_alloc< _Res, _Alloc >, and it’s from the libstdc++ Library Functions Manual, bestie. The whole vibe is literally: β€œA result object that uses an allocator.” periodt ✨

SYNOPSIS πŸŽ€

This struct is doing the inheritance thing:

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

Public Types πŸ¦‹

  • __allocator_type β€” defined as using __allocator_type = __alloc_rebind< _Alloc, _Result_alloc >
  • result_type β€” defined as typedef _Res result_type

Public Member Functions 🌸

  • _Result_alloc (const _Alloc &__a)
  • void _M_set (_Res &&__res)
  • void _M_set (const _Res &__res)
  • _Res & _M_value () noexcept

Public Attributes πŸ“

  • exception_ptr _M_error β€” yes bestie, that’s the public attribute.

Detailed Description πŸ”₯

template<typename _Res, typename _Alloc>
    struct std::__future_base::_Result_alloc< _Res, _Alloc >

β€œA result object that uses an allocator.” That’s the whole mood, no cap. Definition at line 268 of file future.

Author πŸ‘‘

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


xoxo bestie πŸ’… β€” this page is from libstdc++, dated Thu Jul 11 2024, and the footer title was std::__fut...s, _Alloc >(3) 🫢

πŸ“¦ where this page comes from