__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 takesunsigned int __k,const _Tp &__sentinel, and_Compare __compwith the defaultstd::less< _Tp >().int __get_min_source ()β signature: no arguments, returnsint. That's it, no cap.void __insert_start (const _Tp &__key, int __source, bool)β signature: takesconst _Tp &__key,int __source, and abool(the third one has no parameter name in the original signature), returnsvoid.
π 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 πβ¨
π¦ where this page comes from
- debian trixie: libstdc++-12-doc 12.4.0-5
- debian trixie: libstdc++-13-doc 13.3.0-16
- debian trixie: libstdc++-14-doc 14.2.0-19
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2.1
- ubuntu noble: libstdc++-11-doc 11.4.0-9ubuntu1
- ubuntu noble: libstdc++-11-doc 11.5.0-1ubuntu1~24.04.1
- ubuntu noble: libstdc++-12-doc 12.3.0-17ubuntu1
- ubuntu noble: libstdc++-12-doc 12.4.0-2ubuntu1~24.04.1
- ubuntu noble: libstdc++-13-doc 13.2.0-23ubuntu4
- ubuntu noble: libstdc++-13-doc 13.3.0-6ubuntu2~24.04.1
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- ubuntu noble: libstdc++-14-doc 14.2.0-4ubuntu2~24.04.1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1.1
- ubuntu questing: libstdc++-12-doc 12.5.0-6ubuntu1
- ubuntu questing: libstdc++-13-doc 13.4.0-4ubuntu1
- ubuntu questing: libstdc++-14-doc 14.3.0-8ubuntu1
- ubuntu questing: libstdc++-15-doc 15.2.0-4ubuntu4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms