GNU g++  v5.2.1
GNU Standard C++
__gnu_parallel::_LoserTreePointerUnguarded< __stable, _Tp, _Compare > Class Template Reference

Stable unguarded _LoserTree variant storing pointers. More...

#include <losertree.h>

Inheritance diagram for __gnu_parallel::_LoserTreePointerUnguarded< __stable, _Tp, _Compare >:
Collaboration diagram for __gnu_parallel::_LoserTreePointerUnguarded< __stable, _Tp, _Compare >:

Public Member Functions

 _LoserTreePointerUnguarded (unsigned int __k, const _Tp &__sentinel, _Compare __comp=std::less< _Tp >())
 
void __delete_min_insert (const _Tp &__key, bool __sup)
 
int __get_min_source ()
 
void __init ()
 
unsigned int __init_winner (unsigned int __root)
 
void __insert_start (const _Tp &__key, int __source, bool)
 

Protected Attributes

_Compare _M_comp
 
unsigned int _M_ik
 
unsigned int _M_k
 
_Loser_M_losers
 
unsigned int _M_offset
 

Private Types

typedef _LoserTreePointerUnguardedBase< _Tp, _Compare > _Base
 

Detailed Description

template<bool __stable, typename _Tp, typename _Compare>
class __gnu_parallel::_LoserTreePointerUnguarded< __stable, _Tp, _Compare >

Stable unguarded _LoserTree variant storing pointers.

Unstable variant is implemented below using partial specialization.

Member Typedef Documentation

template<bool __stable, typename _Tp , typename _Compare >
typedef _LoserTreePointerUnguardedBase<_Tp, _Compare> __gnu_parallel::_LoserTreePointerUnguarded< __stable, _Tp, _Compare >::_Base
private

Constructor & Destructor Documentation

template<bool __stable, typename _Tp , typename _Compare >
__gnu_parallel::_LoserTreePointerUnguarded< __stable, _Tp, _Compare >::_LoserTreePointerUnguarded ( unsigned int  __k,
const _Tp &  __sentinel,
_Compare  __comp = std::less<_Tp>() 
)
inline

Member Function Documentation

template<bool __stable, typename _Tp , typename _Compare >
void __gnu_parallel::_LoserTreePointerUnguarded< __stable, _Tp, _Compare >::__delete_min_insert ( const _Tp &  __key,
bool  __sup 
)
inline
template<typename _Tp , typename _Compare >
int __gnu_parallel::_LoserTreePointerUnguardedBase< _Tp, _Compare >::__get_min_source ( )
inlineinherited
template<bool __stable, typename _Tp , typename _Compare >
void __gnu_parallel::_LoserTreePointerUnguarded< __stable, _Tp, _Compare >::__init ( )
inline
template<typename _Tp , typename _Compare >
void __gnu_parallel::_LoserTreePointerUnguardedBase< _Tp, _Compare >::__insert_start ( const _Tp &  __key,
int  __source,
bool   
)
inlineinherited

Member Data Documentation

template<typename _Tp , typename _Compare >
unsigned int __gnu_parallel::_LoserTreePointerUnguardedBase< _Tp, _Compare >::_M_ik
protectedinherited
template<typename _Tp , typename _Compare >
unsigned int __gnu_parallel::_LoserTreePointerUnguardedBase< _Tp, _Compare >::_M_k
protectedinherited
template<typename _Tp , typename _Compare >
_Loser* __gnu_parallel::_LoserTreePointerUnguardedBase< _Tp, _Compare >::_M_losers
protectedinherited
template<typename _Tp , typename _Compare >
unsigned int __gnu_parallel::_LoserTreePointerUnguardedBase< _Tp, _Compare >::_M_offset
protectedinherited

The documentation for this class was generated from the following file: