---
name: "__gnu_parallel::_SamplingSorter"
section: "3cxx"
platform: "linux"
package: "libstdc++-12-doc"
version: "12.4.0-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/__gnu_parallel::_SamplingSorter/3cxx"
---

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

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.
