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

Public Types

enum  { _Multi = _Mfl }
 
typedef _Kty key_type
 
typedef _Kty value_type
 
typedef _Tr key_compare
 
typedef _Alloc allocator_type
 
typedef key_compare value_compare
 

Public Member Functions

 _Uset_traits (const _Tr &_Traits=_Tr())
 

Static Public Member Functions

static const _Kty & _Kfn (const value_type &_Val)
 
static int _Nonkfn (const value_type &)
 

Member Typedef Documentation

template<class _Kty, class _Tr, class _Alloc, bool _Mfl>
typedef _Alloc _Uset_traits< _Kty, _Tr, _Alloc, _Mfl >::allocator_type
template<class _Kty, class _Tr, class _Alloc, bool _Mfl>
typedef _Tr _Uset_traits< _Kty, _Tr, _Alloc, _Mfl >::key_compare
template<class _Kty, class _Tr, class _Alloc, bool _Mfl>
typedef _Kty _Uset_traits< _Kty, _Tr, _Alloc, _Mfl >::key_type
template<class _Kty, class _Tr, class _Alloc, bool _Mfl>
typedef key_compare _Uset_traits< _Kty, _Tr, _Alloc, _Mfl >::value_compare
template<class _Kty, class _Tr, class _Alloc, bool _Mfl>
typedef _Kty _Uset_traits< _Kty, _Tr, _Alloc, _Mfl >::value_type

Member Enumeration Documentation

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

Constructor & Destructor Documentation

template<class _Kty, class _Tr, class _Alloc, bool _Mfl>
_Uset_traits< _Kty, _Tr, _Alloc, _Mfl >::_Uset_traits ( const _Tr &  _Traits = _Tr())
inline
33  : _Tr(_Traits)
34  { // construct with specified comparator
35  }

Member Function Documentation

template<class _Kty, class _Tr, class _Alloc, bool _Mfl>
static const _Kty& _Uset_traits< _Kty, _Tr, _Alloc, _Mfl >::_Kfn ( const value_type _Val)
inlinestatic
40  { // return entire value as key
41  return (_Val);
42  }
_FwdIt const _Ty _Val
Definition: algorithm:1938
template<class _Kty, class _Tr, class _Alloc, bool _Mfl>
static int _Uset_traits< _Kty, _Tr, _Alloc, _Mfl >::_Nonkfn ( const value_type )
inlinestatic
45  { // extract "non-key" from element value (for container equality)
46  return (0);
47  }

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