__GNU_PARALLEL::_LOSERTREEBASE__LOSER(3cxx)

okay bestie, welcome to the 3cxx manual page for __gnu_parallel::_LoserTreeBase< _Tp, _Compare >::_Loser β€” the manual name is __gnu_parallel...mpare >::_Loser(3cxx), and this whole thing is about the internal representation of a _LoserTree element. πŸ’…βœ¨

πŸ’– NAME πŸ’–

__gnu_parallel::_LoserTreeBase< _Tp, _Compare >::_Loser β€” internal representation of a _LoserTree element. That's the whole name vibe: it's a helper struct inside _LoserTreeBase, okay? 🫢

🌸 SYNOPSIS 🌸

Include this header, bestie:

#include <losertree.h>

πŸŽ€ Public Attributes πŸŽ€

  • _Tp _M_key β€” the _M_key of the element in the _LoserTree. literally the key. πŸ”‘
  • int _M_source β€” the __index of the __source __sequence. yes, those underscores are doing the most. πŸ’€
  • bool _M_sup β€” a flag, true iff this is a 'maximum' __sentinel. no cap. 🚩

πŸ¦‹ Detailed Description πŸ¦‹

Template time, icon:

template<typename _Tp, typename _Compare>
struct __gnu_parallel::_LoserTreeBase< _Tp, _Compare >::_Loser"Internal
representation of a _LoserTree element.

So yeah, _Loser is the internal representation of a _LoserTree element, and the exact doc line has that little quote after _Loser β€” I'm just preserving the source's chaos, bestie. πŸ™ˆ

πŸ’œ Member Data Documentation πŸ’œ

⭐ _M_key

template<typename _Tp , typename _Compare > _Tp
__gnu_parallel::_LoserTreeBase< _Tp, _Compare >::_Loser::_M_key

The _M_key of the element in the _LoserTree. Referenced by __gnu_parallel::_LoserTreeBase< _Tp, _Compare >::__insert_start(). key behavior, truly. πŸ”‘βœ¨

⭐ _M_source

template<typename _Tp , typename _Compare > int
__gnu_parallel::_LoserTreeBase< _Tp, _Compare >::_Loser::_M_source

The __index of the __source __sequence. Referenced by __gnu_parallel::_LoserTreeBase< _Tp, _Compare >::__get_min_source(), and __gnu_parallel::_LoserTreeBase< _Tp, _Compare >::__insert_start(). tracking the source sequence, iconic. 🧚

⭐ _M_sup

template<typename _Tp , typename _Compare > bool
__gnu_parallel::_LoserTreeBase< _Tp, _Compare >::_Loser::_M_sup

A flag, true iff this is a 'maximum' __sentinel. Referenced by __gnu_parallel::_LoserTreeBase< _Tp, _Compare >::__insert_start(). sentinel vibes checked. πŸš©πŸ’«

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code. slay, automation. πŸ€–πŸ’–


Cute sign-off: this page is from the libstdc++ source/version vibe and was generated by Doxygen; the footer stamp is libstd__gnu_parallel...mpare >::_Loser(3cxx). Date slot? not giving a separate date on this page, so I'm not inventing one β€” periodt. πŸ’…πŸ«Ά