__GNU_PARALLEL::_LOSERTREEPOINTERUNGUARDEDBASE(3cxx)

πŸ’– NAME πŸ’–

So this is the 3cxx manual page for __gnu_parallel::_LoserTreePointerUnguardedBase< _Tp, _Compare > β€” the unguarded loser tree that keeps only pointers to the elements in the tree structure. That's the whole vibe: pointer-only loser tree, no guard rails, go fast. πŸ’¨


✨ SYNOPSIS ✨

#include <losertree.h>

Inherited by __gnu_parallel::_LoserTreePointerUnguarded< __stable, _Tp, _Compare >, and __gnu_parallel::_LoserTreePointerUnguarded< false, _Tp, _Compare >.

🫢 Public Member Functions

  • _LoserTreePointerUnguardedBase (unsigned int __k, const _Tp &__sentinel, _Compare __comp=std::less< _Tp >()) β€” the constructor, exactly as written. It takes unsigned int __k, const _Tp &__sentinel, and _Compare __comp with the default std::less< _Tp >().
  • int __get_min_source () β€” signature: no arguments, returns int. That's it, no cap.
  • void __insert_start (const _Tp &__key, int __source, bool) β€” signature: takes const _Tp &__key, int __source, and a bool (the third one has no parameter name in the original signature), returns void.

πŸŽ€ Protected Attributes

  • _Compare _M_comp β€” protected attribute, exact name and type.
  • unsigned int _M_ik β€” protected attribute, exact name and type.
  • unsigned int _M_k β€” protected attribute, exact name and type.
  • _Loser * _M_losers β€” protected attribute, exact name and type. Pointer to _Loser, periodt.
  • unsigned int _M_offset β€” protected attribute, exact name and type.

🌸 Detailed Description 🌸

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

This class is described as: "Unguarded loser tree, keeping only pointers to the elements in the tree structure."

⚠️ No guarding is done, therefore not a single input sequence must run empty. This is a very fast variant.

Like literally, the "unguarded" part is the whole personality. It is not here to catch an empty input sequence for you β€” the original warning is right there: no guarding is done, therefore not a single input sequence must run empty. But it is a very fast variant. Highkey iconic, but read the caveat, bestie. πŸ’€πŸ’–

🧚 Author 🧚

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


Okay that's the whole page, bestie. Signing off from the libstdc++ source-code-generated footer for the 3cxx manual β€” source/version vibes: libstdc++, manual tag: 3cxx, and the original footer line doesn't print a date, so no invented date here, just the cute (3cxx) sign-off. Mwah πŸ’‹βœ¨