ReactOS 0.4.15-dev-8092-ge0ba2f3
_DbgCompare< _Key, _Compare > Class Template Reference

#include <_tree.h>

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.

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; }

◆ 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 }
bool operator()(const _Key &__lhs, const _Key &__rhs) const
Definition: _tree.h:57

Referenced by _DbgCompare< _Key, _Compare >::operator()().

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: