STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
stdext::_Hmap_traits< _Kty, _Ty, _Tr, _Alloc, _Mfl >::value_compare Class Reference
Inheritance diagram for stdext::_Hmap_traits< _Kty, _Ty, _Tr, _Alloc, _Mfl >::value_compare:
binary_function< _Arg1, _Arg2, _Result >

Public Member Functions

bool operator() (const value_type &_Left, const value_type &_Right) const
 
 value_compare (const key_compare &_Keycomparg)
 

Public Attributes

key_compare _Keycompobj
 

Additional Inherited Members

- Public Types inherited from binary_function< _Arg1, _Arg2, _Result >
typedef _Arg1 first_argument_type
 
typedef _Arg2 second_argument_type
 
typedef _Result result_type
 

Constructor & Destructor Documentation

template<class _Kty, class _Ty, class _Tr, class _Alloc, bool _Mfl>
stdext::_Hmap_traits< _Kty, _Ty, _Tr, _Alloc, _Mfl >::value_compare::value_compare ( const key_compare _Keycomparg)
inline
57  : _Keycompobj(_Keycomparg)
58  { // construct with specified predicate
59  }
key_compare _Keycompobj
Definition: hash_map:61

Member Function Documentation

template<class _Kty, class _Ty, class _Tr, class _Alloc, bool _Mfl>
bool stdext::_Hmap_traits< _Kty, _Ty, _Tr, _Alloc, _Mfl >::value_compare::operator() ( const value_type _Left,
const value_type _Right 
) const
inline
52  { // test if _Left precedes _Right by comparing just keys
53  return (_Keycompobj(_Left.first, _Right.first));
54  }
key_compare _Keycompobj
Definition: hash_map:61
const _Ty & _Right
Definition: algorithm:4087

Member Data Documentation

template<class _Kty, class _Ty, class _Tr, class _Alloc, bool _Mfl>
key_compare stdext::_Hmap_traits< _Kty, _Ty, _Tr, _Alloc, _Mfl >::value_compare::_Keycompobj

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