__gnu_para...uardedBase(3)
π NAME π
okay bestie, this is the Library Functions Manual page titled __gnu_para...uardedBase(3), and itβs all about __gnu_parallel::LoserTreeUnguardedBase β the base class for unguarded LoserTree implementation. Weβre so back π.
β¨ SYNOPSIS β¨
Hereβs the whole public interface, no gatekeeping:
π« Public Member Functions π«
int get_min_source ()
void insert_start (const T &key, int source, bool)
LoserTreeUnguardedBase (unsigned int _k, const T _sentinel, Comparator _comp=std::less< T >())
π‘οΈ Protected Attributes π‘οΈ
Comparator comp
unsigned int ik
unsigned int k
Loser * losers
unsigned int offset
π DETAILED DESCRIPTION π
Template time, bestie:
template<typename T, typename Comparator> class __gnu_parallel::LoserTreeUnguardedBase< T, Comparator >
Okay so hereβs the tea: __gnu_parallel::LoserTreeUnguardedBase< T, Comparator > is the base class for unguarded LoserTree implementation. The whole element is copied into the tree structure β like, the entire thing, no half-measures π«Ά.
No guarding is done, therefore not a single input sequence must run empty. Thatβs a real caveat, bestie β not one input sequence is allowed to run empty. Unused sequence heads are marked with a sentinel which is > all elements that are to be merged. This is a very fast variant. Periodt π₯.
Definition at line 554 of file losertree.h.
π AUTHOR π
This page was Generated automatically by Doxygen for libstdc++ from the source code. So no human author gossip here β itβs all Doxygen magic β¨.
And thatβs the whole page, bestie! Cute little sign-off: libstdc++, 21 Apr 2009, page __gnu_para...uardedBase(3) β mwah ππ
π¦ where this page comes from
- nixpkgs unstable: std-man-pages 4.4.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms