__gnu_para...eUnguarded(3)

πŸ“¦ version 4.4.0, in nixpkgs unstable

πŸ’– __gnu_para...eUnguarded(3) πŸ’–

okay bestie, this is the Library Functions Manual page for __gnu_para...eUnguarded(3), and we're about to make a loser tree sound iconic. It's giving C++ template realness, but I promise it's not scary. 🫢

✨ NAME ✨

__gnu_parallel::LoserTreeUnguarded β€” stable implementation of unguarded LoserTree. That's the name, that's the vibe, no cap. πŸ’…

🌸 SYNOPSIS 🌸

Inherits LoserTreeUnguardedBase< T, Comparator >. Yes, that's the parent class, and it said "go forth and be unguarded." 😭

🫢 Public Member Functions 🫢

  • void delete_min_insert (T key, bool) β€” signature snapped exactly like this; that bool has no name and we are not fixing it.
  • int get_min_source () β€” returns an int, and the empty parentheses are part of the look.
  • void init () β€” takes nothing, returns nothing, still booked and busy.
  • unsigned int init_winner (unsigned int root) β€” takes an unsigned int root, gives back an unsigned int. iconic.
  • void insert_start (const T &key, int source, bool) β€” const T &key, int source, and another mysterious unnamed bool. we respect the mystery.
  • LoserTreeUnguarded (unsigned int _k, const T _sentinel, Comparator _comp=std::less< T >()) β€” constructor with the default argument std::less< T >() exactly as written. periodt.

πŸ¦‹ Protected Attributes πŸ¦‹

  • Comparator comp β€” protected attribute, very demure, very mindful.
  • unsigned int ik β€” also protected. don't touch, bestie.
  • unsigned int k β€” yes, k is here too.
  • Loser * losers β€” pointer named losers, and honestly? main character energy.
  • unsigned int offset β€” the final protected attribute, slaying in unsigned int.

🌈 Detailed Description 🌈

template<bool stable, typename T, typename Comparator> class
    __gnu_parallel::LoserTreeUnguarded< stable, T, Comparator >

Stable implementation of unguarded LoserTree. πŸ’–

The unstable variant is selected below with partial specialization. that's the exact tea, don't forget it.

Definition at line 617 of file losertree.h. go look, it's literally right there. πŸ‘‘

πŸŽ€ Author πŸŽ€

Generated automatically by Doxygen for libstdc++ from the source code. so yeah, Doxygen did the autogenerated thing. 🫢


k bye bestie πŸ’– β€” this page is from libstdc++, dated 21 Apr 2009, and it's literally __gnu_para...eUnguarded(3). mwah. πŸŽ€

πŸ“¦ where this page comes from