STD::PROMISE(3cxx)
πΈ NAME πΈ
std::promise< _Res > β manual 3cxx β Primary template for promise. that's the whole name card, bestie π
β¨ SYNOPSIS β¨
#include <future>
π Public Member Functions π
okay so here's the full roster, no skips, no cap:
template<typename _Allocator > promise (allocator_arg_t, const _Allocator &, promise &&__rhs)
template<typename _Allocator > promise (allocator_arg_t, const _Allocator &__a)
promise (const promise &)=delete
promise (promise &&__rhs) noexcept
future< _Res > get_future ()
promise & operator= (const promise &)=delete
promise & operator= (promise &&__rhs) noexcept
void set_exception (exception_ptr __p)
void set_exception_at_thread_exit (exception_ptr __p)
void set_value (_Res &&__r)
void set_value (const _Res &__r)
void set_value_at_thread_exit (_Res &&__r)
void set_value_at_thread_exit (const _Res &__r)
void swap (promise &__rhs) noexcept
the =delete ones are deleted, and the move ones are noexcept β literal main character energy π
π«Ά Friends π«Ά
one friend in the group chat:
template<typename , typename > struct _State::_Setter
π¦ Detailed Description π¦
the declaration, verbatim, quote mark included β I'm not fixing it, bestie π:
template<typename _Res>
class std::promise< _Res >"Primary template for promise.
π Author π
Generated automatically by Doxygen for libstdc++ from the source code.
and that's the page π source/version: libstdc++; page: std::promise< _Res >(3cxx); footer date: none shown β periodt π«Άβ¨
π¦ where this page comes from
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms