STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
_Umap_traits< _Kty, _Ty, _Tr, _Alloc, _Mfl > Class Template Reference
Inheritance diagram for _Umap_traits< _Kty, _Ty, _Tr, _Alloc, _Mfl >:

Classes

class  value_compare
 

Public Types

enum  { _Multi = _Mfl }
 
typedef _Kty key_type
 
typedef pair< const _Kty, _Ty > value_type
 
typedef _Tr key_compare
 
typedef _Alloc allocator_type
 

Public Member Functions

 _Umap_traits (const _Tr &_Traits=_Tr())
 

Static Public Member Functions

template<class _Ty1 , class _Ty2 >
static const _Kty & _Kfn (const pair< _Ty1, _Ty2 > &_Val)
 
template<class _Ty1 , class _Ty2 >
static const _Ty2 & _Nonkfn (const pair< _Ty1, _Ty2 > &_Val)
 

Static Public Attributes

static constexpr bool _Standard = true
 

Member Typedef Documentation

template<class _Kty, class _Ty, class _Tr, class _Alloc, bool _Mfl>
typedef _Alloc _Umap_traits< _Kty, _Ty, _Tr, _Alloc, _Mfl >::allocator_type
template<class _Kty, class _Ty, class _Tr, class _Alloc, bool _Mfl>
typedef _Tr _Umap_traits< _Kty, _Ty, _Tr, _Alloc, _Mfl >::key_compare
template<class _Kty, class _Ty, class _Tr, class _Alloc, bool _Mfl>
typedef _Kty _Umap_traits< _Kty, _Ty, _Tr, _Alloc, _Mfl >::key_type
template<class _Kty, class _Ty, class _Tr, class _Alloc, bool _Mfl>
typedef pair<const _Kty, _Ty> _Umap_traits< _Kty, _Ty, _Tr, _Alloc, _Mfl >::value_type

Member Enumeration Documentation

template<class _Kty, class _Ty, class _Tr, class _Alloc, bool _Mfl>
anonymous enum
Enumerator
_Multi 
32  { // make multi parameter visible as an enum constant
33  _Multi = _Mfl};
Definition: unordered_map:33

Constructor & Destructor Documentation

template<class _Kty, class _Ty, class _Tr, class _Alloc, bool _Mfl>
_Umap_traits< _Kty, _Ty, _Tr, _Alloc, _Mfl >::_Umap_traits ( const _Tr &  _Traits = _Tr())
inline
38  : _Tr(_Traits)
39  { // construct with specified comparator
40  }

Member Function Documentation

template<class _Kty, class _Ty, class _Tr, class _Alloc, bool _Mfl>
template<class _Ty1 , class _Ty2 >
static const _Kty& _Umap_traits< _Kty, _Ty, _Tr, _Alloc, _Mfl >::_Kfn ( const pair< _Ty1, _Ty2 > &  _Val)
inlinestatic
66  { // extract key from element value
67  return (_Val.first);
68  }
_Ty1 first
Definition: utility:270
template<class _Kty, class _Ty, class _Tr, class _Alloc, bool _Mfl>
template<class _Ty1 , class _Ty2 >
static const _Ty2& _Umap_traits< _Kty, _Ty, _Tr, _Alloc, _Mfl >::_Nonkfn ( const pair< _Ty1, _Ty2 > &  _Val)
inlinestatic
73  { // extract non-key from element value
74  return (_Val.second);
75  }
_Ty2 second
Definition: utility:271

Member Data Documentation

template<class _Kty, class _Ty, class _Tr, class _Alloc, bool _Mfl>
constexpr bool _Umap_traits< _Kty, _Ty, _Tr, _Alloc, _Mfl >::_Standard = true
static

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