---
name: "__gnu_parallel::__multiway_merge_k_variant_sentinel_switch"
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::__multiway_merge_k_variant_sentinel_switch/3cxx"
---

# \_\_gnu\_parallel::\_\_multiway\_merge\_k\_variant\_sentinel\_switch(3cxx)

Switch for k-way merging with \_\_sentinels turned on.

## NAME

\_\_gnu\_parallel::\_\_multiway\_merge\_k\_variant\_sentinel\_switch\< \_\_sentinels, \_\_stable, \_RAIterIterator, \_RAIter3, \_DifferenceTp, \_Compare \> - Switch for k-way merging with \_\_sentinels turned on.

## SYNOPSIS

`#include <multiway_merge.h>`

### Public Member Functions

\_RAIter3 **operator()** (\_RAIterIterator \_\_seqs\_begin, \_RAIterIterator \_\_seqs\_end, \_RAIter3 \_\_target, const typename **std::iterator\_traits**\< typename **std::iterator\_traits**\< \_RAIterIterator \>::value\_type::first\_type \>::value\_type &\_\_sentinel, \_DifferenceTp \_\_length, \_Compare \_\_comp)\

## Detailed Description

### template\<bool \_\_sentinels, bool \_\_stable, typename \_RAIterIterator, typename \_RAIter3, typename \_DifferenceTp, typename \_Compare\>

struct \_\_gnu\_parallel::\_\_multiway\_merge\_k\_variant\_sentinel\_switch\< \_\_sentinels, \_\_stable, \_RAIterIterator, \_RAIter3, \_DifferenceTp, \_Compare \>"Switch for k-way merging with \_\_sentinels turned on.

## Author

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