__gnu_para...reePointer(3)
okay so bestie, welcome to __gnu_para...reePointer(3) from the Library Functions Manual π
β¨ weβre talking about __gnu_parallel::LoserTreePointer, and this page is short but it is still giving main-character documentation energy.
π NAME π
__gnu_parallel::LoserTreePointer - Stable LoserTree implementation.
πΈ SYNOPSIS πΈ
π¦ Inherits π¦
Inherits LoserTreePointerBase< T, Comparator >.
π Public Member Functions π
hereβs the full public member function lineup, no cap β signatures exactly as the page lists them:
void delete_min_insert (const T &key, bool sup)β thatβs the whole signature, bestie.int get_min_source ()β returnsint, takes no args.void init ()β no parameters, justinit.unsigned int init_winner (unsigned int root)β takesunsigned int root, returnsunsigned int.void insert_start (const T &key, int source, bool sup)β exact signature, no edits.LoserTreePointer (unsigned int _k, Comparator _comp=std::less< T >())β the constructor, literally.
thatβs the whole public list β no extra signatures hiding in the group chat π
π Protected Attributes π
these are the protected data members, so theyβre lowkey inside-the-club only:
Comparator compunsigned int ikunsigned int kLoser * losersunsigned int offset
π Detailed Description π
template<bool stable, typename T, typename Comparator> class
__gnu_parallel::LoserTreePointer< stable, T, Comparator >
the class description is literally: Stable LoserTree implementation.
the source also says: The unstable variant is implemented using partial instantiation below.
and the exact location note is: Definition at line 394 of file losertree.h.
π«Ά Author π«Ά
the author/credit line is exactly: Generated automatically by Doxygen for libstdc++ from the source code.
ngl, thatβs the whole author section β Doxygen did the typing, bestie π
signing off with the footer tea: this is libstdc++, dated 21 Apr 2009, and the page title in the footer is __gnu_para...reePointer(3) πβ¨ periodt π
π¦ 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