__GNU_PARALLEL::_LOSERTREEUNGUARDED(3cxx)

πŸ’– NAME πŸ’–

Okay bestie, welcome to the 3cxx manual page for __gnu_parallel::_LoserTreeUnguarded< __stable, _Tp, _Compare > β€” it's the stable implementation of unguarded _LoserTree πŸ’…βœ¨

✨ SYNOPSIS ✨

Include this, fr fr:

#include <losertree.h>

It inherits from __gnu_parallel::_LoserTreeUnguardedBase< _Tp, _Compare > 🫢

πŸŽ€ Public Member Functions πŸŽ€

  • _LoserTreeUnguarded (unsigned int __k, const _Tp &__sentinel, _Compare __comp=std::less< _Tp >()) β€” the constructor signature, exactly as given, no cap 😌
  • void __delete_min_insert (_Tp __key, bool) β€” exact signature, periodt πŸ’…
  • int __get_min_source () β€” yep, that's the whole signature 🌸
  • void __init () β€” iconic little init signature ✨
  • unsigned int __init_winner (unsigned int __root) β€” this is the signature, bestie πŸ¦‹
  • void __insert_start (const _Tp &__key, int __source, bool) β€” exactly this one, no edits πŸ”₯

🌈 Protected Attributes 🌈

  • unsigned int _M_ik β€” a protected attribute, slay πŸ’œ
  • unsigned int _M_offset β€” another protected attribute, also slay πŸ’œ

🌸 Detailed Description 🌸

Here's the template situation, bestie:

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

Stable implementation of unguarded _LoserTree. πŸ’–

And the plot twist: Unstable variant is selected below with partial specialization. πŸ‘€πŸ”₯

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code. πŸ€–βœ¨


Source/version/date footer tea, mentioned all cute at the end: libst__gnu_parallel:..._Tp, _Compare >(3cxx) β€” bye bestie, mwah πŸ’–πŸŽ€πŸ«Ά