ReactOS  0.4.14-dev-358-gbef841c
multimap< _Key, _Tp,, >::value_compare Class Reference

#include <_map.h>

Inheritance diagram for multimap< _Key, _Tp,, >::value_compare:
Collaboration diagram for multimap< _Key, _Tp,, >::value_compare:

Public Member Functions

bool operator() (const value_type &__x, const value_type &__y) const
 

Protected Member Functions

 value_compare (_Compare __c)
 
- Protected Member Functions inherited from binary_function< value_type, value_type, bool >
 ~binary_function ()
 

Protected Attributes

_Compare comp
 

Friends

class multimap< _Key, _Tp, _Compare, _Alloc >
 

Additional Inherited Members

- Public Types inherited from binary_function< value_type, value_type, bool >
typedef value_type first_argument_type
 
typedef value_type second_argument_type
 
typedef bool result_type
 

Detailed Description

template<class _Key, class _Tp, _STLP_DFL_TMPL_PARAM(_Compare, less< _Key >), _STLP_DEFAULT_PAIR_ALLOCATOR_SELECT(_STLP_CONST _Key, _Tp)>
class multimap< _Key, _Tp,, >::value_compare

Definition at line 253 of file _map.h.

Constructor & Destructor Documentation

◆ value_compare()

template<class _Key, class _Tp, _STLP_DFL_TMPL_PARAM(_Compare, less< _Key >) , _STLP_DEFAULT_PAIR_ALLOCATOR_SELECT(_STLP_CONST _Key, _Tp) >
multimap< _Key, _Tp,, >::value_compare::value_compare ( _Compare  __c)
inlineprotected

Definition at line 258 of file _map.h.

258 : comp(__c) {}
#define __c
Definition: schilyio.h:209

Member Function Documentation

◆ operator()()

template<class _Key, class _Tp, _STLP_DFL_TMPL_PARAM(_Compare, less< _Key >) , _STLP_DEFAULT_PAIR_ALLOCATOR_SELECT(_STLP_CONST _Key, _Tp) >
bool multimap< _Key, _Tp,, >::value_compare::operator() ( const value_type __x,
const value_type __y 
) const
inline

Definition at line 260 of file _map.h.

261  { return comp(__x.first, __y.first); }

Friends And Related Function Documentation

◆ multimap< _Key, _Tp, _Compare, _Alloc >

template<class _Key, class _Tp, _STLP_DFL_TMPL_PARAM(_Compare, less< _Key >) , _STLP_DEFAULT_PAIR_ALLOCATOR_SELECT(_STLP_CONST _Key, _Tp) >
friend class multimap< _Key, _Tp, _Compare, _Alloc >
friend

Definition at line 254 of file _map.h.

Member Data Documentation

◆ comp

template<class _Key, class _Tp, _STLP_DFL_TMPL_PARAM(_Compare, less< _Key >) , _STLP_DEFAULT_PAIR_ALLOCATOR_SELECT(_STLP_CONST _Key, _Tp) >
_Compare multimap< _Key, _Tp,, >::value_compare::comp
protected

Definition at line 257 of file _map.h.

Referenced by multimap< _Key, _Tp,, >::value_compare::operator()().


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