---
name: "__gnu_parallel::_SamplingSorter"
section: "3"
platform: "linux"
package: "gcc"
version: "16.2.1+r23+gd564253eb6c8-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/__gnu_parallel::_SamplingSorter"
---

# \_\_gnu\_parallel::\_SamplingSorter(3)

Stable sorting functor.

## NAME

\_\_gnu\_parallel::\_SamplingSorter\< \_\_stable, \_RAIter, \_StrictWeakOrdering \> - Stable sorting functor.

## SYNOPSIS

\#include \<multiway\_merge.h\>

### Public Member Functions

void **operator()** (\_RAIter \_\_first, \_RAIter \_\_last, \_StrictWeakOrdering \_\_comp)\

## Detailed Description

### template\<bool \_\_stable, class \_RAIter, class \_StrictWeakOrdering\>

struct \_\_gnu\_parallel::\_SamplingSorter\< \_\_stable, \_RAIter, \_StrictWeakOrdering \>"Stable sorting functor.

Used to reduce code instanciation in multiway\_merge\_sampling\_splitting.

## Author

Generated automatically by Doxygen for libstdc++ from the source code.
