ReactOS  0.4.13-dev-235-g7373cb3
_DbgEqual< _Key, _Equal > Class Template Reference

#include <_hashtable.h>

Public Member Functions

 _DbgEqual ()
 
 _DbgEqual (const _Equal &__eq)
 
 _DbgEqual (const _DbgEqual &__eq)
 
bool operator() (const _Key &__lhs, const _Key &__rhs) const
 
_Equal non_dbg_key_eq () const
 

Private Attributes

_Equal _M_non_dbg_eq
 

Detailed Description

template<class _Key, class _Equal>
class _DbgEqual< _Key, _Equal >

Definition at line 46 of file _hashtable.h.

Constructor & Destructor Documentation

◆ _DbgEqual() [1/3]

template<class _Key , class _Equal >
_DbgEqual< _Key, _Equal >::_DbgEqual ( )
inline

Definition at line 48 of file _hashtable.h.

48 {}

◆ _DbgEqual() [2/3]

template<class _Key , class _Equal >
_DbgEqual< _Key, _Equal >::_DbgEqual ( const _Equal &  __eq)
inline

Definition at line 49 of file _hashtable.h.

49 : _M_non_dbg_eq(__eq) {}
_Equal _M_non_dbg_eq
Definition: _hashtable.h:67

◆ _DbgEqual() [3/3]

template<class _Key , class _Equal >
_DbgEqual< _Key, _Equal >::_DbgEqual ( const _DbgEqual< _Key, _Equal > &  __eq)
inline

Definition at line 50 of file _hashtable.h.

_Equal _M_non_dbg_eq
Definition: _hashtable.h:67

Member Function Documentation

◆ non_dbg_key_eq()

template<class _Key , class _Equal >
_Equal _DbgEqual< _Key, _Equal >::non_dbg_key_eq ( ) const
inline

Definition at line 65 of file _hashtable.h.

65 { return _M_non_dbg_eq; }
_Equal _M_non_dbg_eq
Definition: _hashtable.h:67

◆ operator()()

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

Definition at line 53 of file _hashtable.h.

58  {
59 #if !defined (_STLP_USE_CONTAINERS_EXTENSION)
60  _STLP_VERBOSE_ASSERT(_M_non_dbg_eq(__rhs, __lhs) == _M_non_dbg_eq(__lhs, __rhs), _StlMsg_INVALID_EQUIVALENT_PREDICATE)
61 #endif
62  return _M_non_dbg_eq(__lhs, __rhs) ? true : false;
63  }
_Equal _M_non_dbg_eq
Definition: _hashtable.h:67
#define true
Definition: stdbool.h:37
#define _STLP_VERBOSE_ASSERT(expr, diagnostic)
Definition: _debug.h:439

Member Data Documentation

◆ _M_non_dbg_eq

template<class _Key , class _Equal >
_Equal _DbgEqual< _Key, _Equal >::_M_non_dbg_eq
private

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