Scroll to navigation

__gnu_parallel::LoserTreePointerUnguarded(3) Library Functions Manual __gnu_parallel::LoserTreePointerUnguarded(3)

NAME

__gnu_parallel::LoserTreePointerUnguarded -

Stable unguarded LoserTree variant storing pointers.

SYNOPSIS

Inherits __gnu_parallel::LoserTreePointerUnguardedBase< T, Comparator >.

Public Member Functions


void delete_min_insert (const T &key, bool sup)
int get_min_source ()
void init ()
unsigned int init_winner (unsigned int root)
void insert_start (const T &key, int source, bool)
LoserTreePointerUnguarded (unsigned int _k, const T &_sentinel, Comparator _comp=std::less< T >())

Protected Attributes


Comparator comp
unsigned int ik
unsigned int k
Loser * losers
unsigned int offset

Detailed Description

template<bool stable, typename T, typename Comparator> class __gnu_parallel::LoserTreePointerUnguarded< stable, T, Comparator >

Stable unguarded LoserTree variant storing pointers.

Unstable variant is implemented below using partial specialization.

Definition at line 853 of file losertree.h.

Author

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

19 Jun 2018 libstdc++