ReactOS 0.4.15-dev-7924-g5949c20
map< _Key, _Tp,, >::value_compare Class Reference

#include <_map.h>

Inheritance diagram for map< _Key, _Tp,, >::value_compare:
Collaboration diagram for map< _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 map< _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 map< _Key, _Tp,, >::value_compare

Definition at line 60 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) >
map< _Key, _Tp,, >::value_compare::value_compare ( _Compare  __c)
inlineprotected

Definition at line 66 of file _map.h.

66: comp(__c) {}
_Compare comp
Definition: _map.h:65
#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 map< _Key, _Tp,, >::value_compare::operator() ( const value_type __x,
const value_type __y 
) const
inline

Definition at line 68 of file _map.h.

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

Friends And Related Function Documentation

◆ map< _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 map< _Key, _Tp, _Compare, _Alloc >
friend

Definition at line 228 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 map< _Key, _Tp,, >::value_compare::comp
protected

Definition at line 65 of file _map.h.

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


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