STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
stdext::_Hset_traits< _Kty, _Tr, _Alloc, _Mfl > Class Template Reference
Inheritance diagram for stdext::_Hset_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

 _Hset_traits (const _Tr &_Traits=_Tr())
 
float & _Get_max_bucket_size () _NOEXCEPT
 
const float & _Get_max_bucket_size () const _NOEXCEPT
 

Static Public Member Functions

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

Public Attributes

float _Max_buckets
 

Static Public Attributes

static constexpr bool _Standard = false
 

Member Typedef Documentation

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

Member Enumeration Documentation

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

Constructor & Destructor Documentation

template<class _Kty, class _Tr, class _Alloc, bool _Mfl>
stdext::_Hset_traits< _Kty, _Tr, _Alloc, _Mfl >::_Hset_traits ( const _Tr &  _Traits = _Tr())
inline
55  : _Tr(_Traits), _Max_buckets(0.0F)
56  { // construct with specified comparator
57  }
float _Max_buckets
Definition: hash_set:81

Member Function Documentation

template<class _Kty, class _Tr, class _Alloc, bool _Mfl>
float& stdext::_Hset_traits< _Kty, _Tr, _Alloc, _Mfl >::_Get_max_bucket_size ( )
inline
72  { // return reference to current maximum bucket size
73  return (_Max_buckets);
74  }
float _Max_buckets
Definition: hash_set:81
template<class _Kty, class _Tr, class _Alloc, bool _Mfl>
const float& stdext::_Hset_traits< _Kty, _Tr, _Alloc, _Mfl >::_Get_max_bucket_size ( ) const
inline
77  { // return const reference to current maximum bucket size
78  return (_Max_buckets);
79  }
float _Max_buckets
Definition: hash_set:81
template<class _Kty, class _Tr, class _Alloc, bool _Mfl>
static const _Kty& stdext::_Hset_traits< _Kty, _Tr, _Alloc, _Mfl >::_Kfn ( const value_type _Val)
inlinestatic
62  { // return entire value as key
63  return (_Val);
64  }
_FwdIt const _Ty _Val
Definition: algorithm:1938
template<class _Kty, class _Tr, class _Alloc, bool _Mfl>
static int stdext::_Hset_traits< _Kty, _Tr, _Alloc, _Mfl >::_Nonkfn ( const value_type )
inlinestatic
67  { // extract "non-key" from element value (for container equality)
68  return (0);
69  }

Member Data Documentation

template<class _Kty, class _Tr, class _Alloc, bool _Mfl>
float stdext::_Hset_traits< _Kty, _Tr, _Alloc, _Mfl >::_Max_buckets
template<class _Kty, class _Tr, class _Alloc, bool _Mfl>
constexpr bool stdext::_Hset_traits< _Kty, _Tr, _Alloc, _Mfl >::_Standard = false
static

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