man std::tr1::hashtable (Fonctions bibliothèques) -

NAME

std::tr1::hashtable -

SYNOPSIS



Inherits rehash_base< RehashPolicy, hashtable< Key, Value, Allocator, ExtractKey, Equal, H1, H2, H, RehashPolicy, cache_hash_code, mutable_iterators, unique_keys > >, hash_code_base, and map_base< Key, Value, ExtractKey, unique_keys, hashtable< Key, Value, Allocator, ExtractKey, Equal, H1, H2, H, RehashPolicy, cache_hash_code, mutable_iterators, unique_keys > >.

Detailed Description

template<typename Key, typename Value, typename Allocator, typename ExtractKey, typename Equal, typename H1, typename H2, typename H, typename RehashPolicy, bool cache_hash_code, bool mutable_iterators, bool unique_keys> class std::tr1::hashtable< Key, Value, Allocator, ExtractKey, Equal, H1, H2, H, RehashPolicy, cache_hash_code, mutable_iterators, unique_keys >

Definition at line 737 of file hashtable.

Public Types

typedef Allocator allocator_type

typedef Internal::hashtable_iterator< value_type, true, cache_hash_code > const_iterator

typedef Internal::node_iterator< value_type, true, cache_hash_code > const_local_iterator

typedef Allocator::const_reference const_reference

typedef Allocator::difference_type difference_type

typedef Internal::hashtable_iterator< value_type,!mutable_iterators, cache_hash_code > iterator

typedef Equal key_equal

typedef Key key_type

typedef Internal::node_iterator< value_type,!mutable_iterators, cache_hash_code > local_iterator

typedef Allocator::reference reference

typedef Allocator::size_type size_type

typedef Value value_type

Public Member Functions

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 n) const

local_iterator end (size_type n)

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)

void erase (const_iterator, const_iterator)

size_type erase (const key_type &)

void erase (const_iterator)

const_iterator find (const key_type &k) const

iterator find (const key_type &)

allocator_type get_allocator () const

hashtable (const hashtable &)

template<typename InIter> hashtable (InIter first, InIter last, size_type bucket_hint, const H1 &, const H2 &, const H &, const Equal &, const ExtractKey &, const allocator_type &)

hashtable (size_type bucket_hint, const H1 &, const H2 &, const H &, const Equal &, const ExtractKey &, const allocator_type &)

template<typename InIter> void insert (InIter first, InIter last)

Insert_Return_Type insert (const_iterator, const value_type &v)

Insert_Return_Type insert (const value_type &v)

float load_factor () const

size_type max_bucket_count () const

size_type max_size () const

hashtable & operator= (const hashtable &)

void rehash (size_type n)

void rehash_policy (const RehashPolicy &)

const RehashPolicy & rehash_policy () const

size_type size () const

void swap (hashtable &)

~hashtable ()

Author

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