std::tr1::_Hashtable

NAME

std::tr1::_Hashtable -

SYNOPSIS


Inherits std::tr1::__detail::_Rehash_base< _RehashPolicy, _Hashtable >< _RehashPolicy, std::tr1::_Hashtable< _Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys > >, _Hash_code_base, and std::tr1::__detail::_Map_base< _Key, _Value, _Ex, __unique, _Hashtable >< _Key, _Value, _ExtractKey, __unique_keys, std::tr1::_Hashtable< _Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys > >.
Inherited by std::tr1::unordered_map< _Key, _Tp, _Hash, _Pred, _Alloc, __cache_hash_code >, std::tr1::unordered_multimap< _Key, _Tp, _Hash, _Pred, _Alloc, __cache_hash_code >, std::tr1::unordered_multiset< _Value, _Hash, _Pred, _Alloc, __cache_hash_code >, and std::tr1::unordered_set< _Value, _Hash, _Pred, _Alloc, __cache_hash_code >.

Detailed Description

template<typename _Key, typename _Value, typename _Allocator, typename _ExtractKey, typename _Equal, typename _H1, typename _H2, typename _Hash, typename _RehashPolicy, bool __cache_hash_code, bool __constant_iterators, bool __unique_keys> class std::tr1::_Hashtable< _Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys >

Definition at line 133 of file hashtable.

Public Types

typedef _Allocator allocator_type
typedef __detail::_Hashtable_const_iterator< value_type, __constant_iterators, __cache_hash_code > const_iterator
typedef __detail::_Node_const_iterator< value_type, __constant_iterators, __cache_hash_code > const_local_iterator
typedef _Allocator::const_reference const_reference
typedef _Allocator::difference_type difference_type
typedef __detail::_Hashtable_iterator< value_type, __constant_iterators, __cache_hash_code > iterator
typedef _Equal key_equal
typedef _Key key_type
typedef __detail::_Node_iterator< value_type, __constant_iterators, __cache_hash_code > local_iterator
typedef _Allocator::reference reference
typedef _Allocator::size_type size_type
typedef _Value value_type

Public Member Functions

void __rehash_policy (const _RehashPolicy &)
const _RehashPolicy & __rehash_policy () const
_Hashtable (const _Hashtable &)
template<typename _InputIterator> _Hashtable (_InputIterator __first, _InputIterator __last, size_type __bucket_hint, const _H1 &, const _H2 &, const _Hash &, const _Equal &, const _ExtractKey &, const allocator_type &)
_Hashtable (size_type __bucket_hint, const _H1 &, const _H2 &, const _Hash &, const _Equal &, const _ExtractKey &, const allocator_type &)
_Value_allocator_type _M_get_Value_allocator () const
const_local_iterator begin (size_type __n) const
local_iterator begin (size_type __n)
const_iterator begin () const
iterator begin ()
size_type bucket (const key_type &__k) const
size_type bucket_count () const
size_type bucket_size (size_type __n) const
void clear ()
size_type count (const key_type &__k) const
bool empty () const
const_local_iterator end (size_type) const
local_iterator end (size_type)
const_iterator end () const
iterator end ()
std::pair< const_iterator, const_iterator > equal_range (const key_type &__k) const
std::pair< iterator, iterator > equal_range (const key_type &__k)
const_iterator erase (const_iterator, const_iterator)
iterator erase (iterator, iterator)
size_type erase (const key_type &)
const_iterator erase (const_iterator)
iterator erase (iterator)
const_iterator find (const key_type &__k) const
iterator find (const key_type &__k)
allocator_type get_allocator () const
template<typename _InputIterator> void insert (_InputIterator __first, _InputIterator __last)
const_iterator insert (const_iterator, const value_type &__v)
iterator insert (iterator, const value_type &__v)
_Insert_Return_Type insert (const value_type &__v)
key_equal key_eq () const
float load_factor () const
size_type max_bucket_count () const
size_type max_size () const
_Hashtable & operator= (const _Hashtable &)
void rehash (size_type __n)
size_type size () const
void swap (_Hashtable &)
~_Hashtable ()

Friends

struct __detail::_Map_base

Author

Generated automatically by Doxygen for libstdc++ from the source code.