ReactOS  0.4.15-dev-2700-g4b4ffa9
_DbgCompare< _Key, _Compare > Class Template Reference

#include <_tree.h>

Collaboration diagram for _DbgCompare< _Key, _Compare >:

Public Member Functions

 _DbgCompare ()
 
 _DbgCompare (const _Compare &__cmp)
 
 _DbgCompare (const _DbgCompare &__cmp)
 
bool operator() (const _Key &__lhs, const _Key &__rhs) const
 
_Compare non_dbg_key_comp () const
 

Private Attributes

_Compare _M_non_dbg_cmp
 

Detailed Description

template<class _Key, class _Compare>
class _DbgCompare< _Key, _Compare >

Definition at line 50 of file _tree.h.

Constructor & Destructor Documentation

◆ _DbgCompare() [1/3]

template<class _Key , class _Compare >
_DbgCompare< _Key, _Compare >::_DbgCompare ( )
inline

Definition at line 52 of file _tree.h.

52 {}

◆ _DbgCompare() [2/3]

template<class _Key , class _Compare >
_DbgCompare< _Key, _Compare >::_DbgCompare ( const _Compare &  __cmp)
inline

Definition at line 53 of file _tree.h.

53 : _M_non_dbg_cmp(__cmp) {}
_Compare _M_non_dbg_cmp
Definition: _tree.h:70

◆ _DbgCompare() [3/3]

template<class _Key , class _Compare >
_DbgCompare< _Key, _Compare >::_DbgCompare ( const _DbgCompare< _Key, _Compare > &  __cmp)
inline

Definition at line 54 of file _tree.h.

_Compare _M_non_dbg_cmp
Definition: _tree.h:70

Member Function Documentation

◆ non_dbg_key_comp()

template<class _Key , class _Compare >
_Compare _DbgCompare< _Key, _Compare >::non_dbg_key_comp ( ) const
inline

Definition at line 68 of file _tree.h.

68 { return _M_non_dbg_cmp; }
_Compare _M_non_dbg_cmp
Definition: _tree.h:70

◆ operator()()

template<class _Key , class _Compare >
bool _DbgCompare< _Key, _Compare >::operator() ( const _Key &  __lhs,
const _Key &  __rhs 
) const
inline

Definition at line 57 of file _tree.h.

57  {
58 #else
59  template <class _Kp1, class _Kp2>
60  bool operator () (const _Kp1& __lhs, const _Kp2& __rhs) const {
61 #endif
62  if (_M_non_dbg_cmp(__lhs, __rhs)) {
63  return true;
64  }
65  return false;
66  }
_Compare _M_non_dbg_cmp
Definition: _tree.h:70
bool operator()(const _Key &__lhs, const _Key &__rhs) const
Definition: _tree.h:57

Member Data Documentation

◆ _M_non_dbg_cmp

template<class _Key , class _Compare >
_Compare _DbgCompare< _Key, _Compare >::_M_non_dbg_cmp
private

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