STD::__FUTURE_BASE__RESULT(3)

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

🌸 NAME 🌸

okay so this is a Library Functions Manual page, and it's giving std::__future_base::_Result< _Res > β€” a result object that has storage for an object of type _Res. that's the whole name, bestie ✨


✨ SYNOPSIS ✨

  • Inherits: std::__future_base::_Result_base
  • Inherited by: std::__future_base::_Result_alloc< _Res, _Alloc >

πŸ’– Public Types

  • typedef _Res result_type β€” the public type is result_type, and it's a typedef for _Res. slay.

πŸŽ€ Public Member Functions

  • void _M_set (_Res &&__res) β€” this overload takes _Res &&__res.
  • void _M_set (const _Res &__res) β€” this overload takes const _Res &__res.
  • _Res & _M_value () noexcept β€” returns a _Res &, and it's marked noexcept.

πŸ¦‹ Public Attributes

  • exception_ptr _M_error β€” a public attribute of type exception_ptr named _M_error.

πŸ’… Detailed Description πŸ’…

template<typename _Res>
struct std::__future_base::_Result< _Res >

A result object that has storage for an object of type _Res. periodt.

Definition: line 227 of file future.


πŸ‘‘ Author πŸ‘‘

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


okay that's the whole page πŸ’– big bye bestie! it's from libstdc++, dated Thu Jul 11 2024, and the footer label is std::__fut...ult< _Res >(3). mwah 🫢

πŸ“¦ where this page comes from