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

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

Stable implementation of unguarded \_LoserTree.

## NAME

\_\_gnu\_parallel::\_LoserTreeUnguarded\< \_\_stable, \_Tp, \_Compare \> - Stable implementation of unguarded \_LoserTree.

## SYNOPSIS

`#include <losertree.h>`

Inherits **\_\_gnu\_parallel::\_LoserTreeUnguardedBase\< \_Tp, \_Compare \>**.

### Public Member Functions

**\_LoserTreeUnguarded** (unsigned int \_\_k, const \_Tp &\_\_sentinel, \_Compare \_\_comp=**std::less**\< \_Tp \>())\
 void **\_\_delete\_min\_insert** (\_Tp \_\_key, bool)\
 int **\_\_get\_min\_source** ()\
 void **\_\_init** ()\
 unsigned int **\_\_init\_winner** (unsigned int \_\_root)\
 void **\_\_insert\_start** (const \_Tp &\_\_key, int \_\_source, bool)\

### Protected Attributes

unsigned int **\_M\_ik**\
 unsigned int **\_M\_offset**\

## Detailed Description

### template\<bool \_\_stable, typename \_Tp, typename \_Compare\>

class \_\_gnu\_parallel::\_LoserTreeUnguarded\< \_\_stable, \_Tp, \_Compare \>"Stable implementation of unguarded \_LoserTree.

Unstable variant is selected below with partial specialization.

## Author

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