__GNU_PARALLEL::_LOSERTREEPOINTERBASE(3cxx)

πŸ’– NAME πŸ’–

__gnu_parallel::_LoserTreePointerBase< _Tp, _Compare > β€” bestie, this is the base class of the _Loser Tree implementation that uses pointers. That's it, that's the vibe. (And yes, the page title is literally __gnu_parallel:..._Tp, _Compare >(3cxx) β€” we're in the (3cxx) manual, iykyk. 🫢)


✨ SYNOPSIS ✨

#include <losertree.h>

Inherited by __gnu_parallel::_LoserTreePointer< __stable, _Tp, _Compare >, and __gnu_parallel::_LoserTreePointer< false, _Tp, _Compare >. Two whole children, she's a mother. πŸ‘‘

🧚 Classes

  • struct _Loser β€” the internal representation of _LoserTree __elements. Lowkey iconic naming, no notes. πŸ’…

🌸 Public Member Functions

  • _LoserTreePointerBase (unsigned int __k, _Compare __comp=std::less< _Tp >()) β€” the constructor, with __comp defaulting to std::less< _Tp >(). Slay.
  • int __get_min_source () β€” gets the min source, fr fr.
  • void __insert_start (const _Tp &__key, int __source, bool __sup) β€” inserts a start. That's the whole sentence, don't come for me. πŸŽ€

πŸ¦‹ Protected Attributes

  • _Compare _M_comp
  • unsigned int _M_ik
  • unsigned int _M_k
  • _Loser * _M_losers
  • unsigned int _M_offset

Five protected attributes, all accounted for. Not me being thorough or whatever. πŸ’€


πŸ”₯ Detailed Description πŸ”₯

template<typename _Tp, typename _Compare>
class __gnu_parallel::_LoserTreePointerBase< _Tp, _Compare >

"Base class of _Loser Tree implementation using pointers."

That's the quote, bestie β€” the class is templated on _Tp and _Compare, and it's the base for the pointer-flavoured _Loser Tree. That's the tea. β˜•βœ¨


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code. So no human wrote this one, it's giving robot main character energy. πŸ€–πŸ’…


Ok that's literally the whole page, no cap. The footer vibes were libst__gnu_parallel:..._Tp, _Compare >(3cxx) β€” that's the source/version corner, coming to you from libstdc++ and Doxygen. Mwah, go read losertree.h bestie πŸ’‹πŸŒΈ