__GNU_PARALLEL::_LOSERTREEPOINTER(3cxx)

okay so bestie, welcome to the 3cxx manual page for __gnu_parallel::_LoserTreePointer< __stable, _Tp, _Compare > πŸ’–βœ¨

🌸 NAME 🌸

__gnu_parallel::_LoserTreePointer< __stable, _Tp, _Compare > β€” the stable _LoserTree implementation. periodt πŸ’…

✨ SYNOPSIS ✨

#include <losertree.h>

It inherits from __gnu_parallel::_LoserTreePointerBase< _Tp, _Compare >. cute inheritance moment 🫢

πŸŽ€ Public Member Functions πŸŽ€

  • _LoserTreePointer (unsigned int __k, _Compare __comp=std::less< _Tp >()) β€” the constructor, bestie. It takes unsigned int __k and _Compare __comp, with the default std::less< _Tp >().
  • void __delete_min_insert (const _Tp &__key, bool __sup) β€” signature behavior only, no cap: void, with const _Tp &__key and bool __sup.
  • int __get_min_source () β€” returns an int, takes no args. giving source energy ⭐
  • void __init () β€” returns void, takes no args. init era πŸ’œ
  • unsigned int __init_winner (unsigned int __root) β€” returns unsigned int, takes unsigned int __root.
  • void __insert_start (const _Tp &__key, int __source, bool __sup) β€” returns void, with const _Tp &__key, int __source, and bool __sup.

πŸ’… Protected Attributes πŸ’…

  • unsigned int _M_ik β€” protected attribute, type unsigned int.
  • unsigned int _M_offset β€” protected attribute, type unsigned int.

πŸ”₯ Detailed Description πŸ”₯

The template is:

template<bool __stable, typename _Tp, typename _Compare>
class __gnu_parallel::_LoserTreePointer< __stable, _Tp, _Compare >

And the detailed description says: β€œStable _LoserTree implementation.” 🌸

Also, literally: β€œThe unstable variant is implemented using partial instantiation below.” iykyk πŸ‘‘

🫢 Author 🫢

Generated automatically by Doxygen for libstdc++ from the source code. not me writing it by hand, bestie 😭


that's the whole page, bestie 🫢 source/version from the footer: libst__gnu_parallel:..._Tp, _Compare >(3cxx) Β· date: not listed in the footer, so we're not making one up πŸ’…βœ¨