__GNU_PARALLEL::SAMPLING_SORTER(3)

πŸ“¦ version 4.4.0, in nixpkgs unstable

✨ NAME ✨

Okay bestie, this page is from the Library Functions Manual, and the star of the show is __gnu_parallel::sampling_sorter β€” a Stable sorting functor. Periodt. πŸ’…


🌸 SYNOPSIS 🌸

🫢 Public Member Functions 🫢

void operator() (RandomAccessIterator first, RandomAccessIterator last,
    StrictWeakOrdering comp)

🌈 Detailed Description 🌈

template<bool stable, class RandomAccessIterator, class StrictWeakOrdering>
    struct __gnu_parallel::sampling_sorter< stable, RandomAccessIterator,
    StrictWeakOrdering >

It’s a Stable sorting functor, no cap. πŸ¦‹

And why does it exist? To reduce code instanciation in multiway_merge_sampling_splitting. Yep, that’s the vibe. ✨

Definition at line 1072 of file multiway_merge.h. πŸ’–

πŸŽ€ AUTHOR πŸŽ€

Generated automatically by Doxygen for libstdc++ from the source code. Iconic, honestly. πŸ‘‘


Brought to you by libstdc++, dated 21 Apr 2009 β€” mwah, bestie, go forth and sort stably πŸ’œπŸ«Ά

πŸ“¦ where this page comes from