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

Public Types

typedef value_type first_argument_type
 
typedef value_type second_argument_type
 
typedef bool result_type
 

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
 

Member Typedef Documentation

template<class _Kty, class _Ty, class _Tr, class _Alloc, bool _Mfl>
typedef value_type stdext::_Hmap_traits< _Kty, _Ty, _Tr, _Alloc, _Mfl >::value_compare::first_argument_type
template<class _Kty, class _Ty, class _Tr, class _Alloc, bool _Mfl>
typedef bool stdext::_Hmap_traits< _Kty, _Ty, _Tr, _Alloc, _Mfl >::value_compare::result_type
template<class _Kty, class _Ty, class _Tr, class _Alloc, bool _Mfl>
typedef value_type stdext::_Hmap_traits< _Kty, _Ty, _Tr, _Alloc, _Mfl >::value_compare::second_argument_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
69  : _Keycompobj(_Keycomparg)
70  { // construct with specified predicate
71  }
key_compare _Keycompobj
Definition: hash_map:73

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
64  { // test if _Left precedes _Right by comparing just keys
65  return (_Keycompobj(_Left.first, _Right.first));
66  }
constexpr const _Ty &() _Left
Definition: algorithm:3722
key_compare _Keycompobj
Definition: hash_map:73
constexpr const _Ty &() _Right
Definition: algorithm:3723

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: