Provided by: libstdc++-9-doc_9.5.0-3ubuntu1_all
NAME
__gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >
SYNOPSIS
Public Types typedef _Ht::allocator_type allocator_type typedef _Ht::const_iterator const_iterator typedef _Alloc::const_pointer const_pointer typedef _Alloc::const_reference const_reference typedef _Ht::difference_type difference_type typedef _Ht::hasher hasher typedef _Ht::const_iterator iterator typedef _Ht::key_equal key_equal typedef _Ht::key_type key_type typedef _Alloc::pointer pointer typedef _Alloc::reference reference typedef _Ht::size_type size_type typedef _Ht::value_type value_type Public Member Functions template<class _InputIterator > hash_set (_InputIterator __f, _InputIterator __l) template<class _InputIterator > hash_set (_InputIterator __f, _InputIterator __l, size_type __n) template<class _InputIterator > hash_set (_InputIterator __f, _InputIterator __l, size_type __n, const hasher &__hf) template<class _InputIterator > hash_set (_InputIterator __f, _InputIterator __l, size_type __n, const hasher &__hf, const key_equal &__eql, const allocator_type &__a=allocator_type()) hash_set (size_type __n) hash_set (size_type __n, const hasher &__hf) hash_set (size_type __n, const hasher &__hf, const key_equal &__eql, const allocator_type &__a=allocator_type()) iterator begin () const size_type bucket_count () const void clear () size_type count (const key_type &__key) const size_type elems_in_bucket (size_type __n) const _GLIBCXX_NODISCARD bool empty () const iterator end () const pair< iterator, iterator > equal_range (const key_type &__key) const size_type erase (const key_type &__key) void erase (iterator __f, iterator __l) void erase (iterator __it) iterator find (const key_type &__key) const allocator_type get_allocator () const hasher hash_funct () const template<class _InputIterator > void insert (_InputIterator __f, _InputIterator __l) pair< iterator, bool > insert (const value_type &__obj) pair< iterator, bool > insert_noresize (const value_type &__obj) key_equal key_eq () const size_type max_bucket_count () const size_type max_size () const void resize (size_type __hint) size_type size () const void swap (hash_set &__hs) Friends template<class _Val , class _HF , class _EqK , class _Al > bool operator== (const hash_set< _Val, _HF, _EqK, _Al > &, const hash_set< _Val, _HF, _EqK, _Al > &)
Detailed Description
template<class _Value, class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> class __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >"This is an SGI extension. Todo \nNeeds documentation! See http://gcc.gnu.org/onlinedocs/libstdc++/manual/documentation_style.html Definition at line 84 of file hash_set.
Member Typedef Documentation
template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> typedef _Ht::allocator_type __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::allocator_type Definition at line 112 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> typedef _Ht::const_iterator __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::const_iterator Definition at line 110 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> typedef _Alloc::const_pointer __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::const_pointer Definition at line 105 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> typedef _Alloc::const_reference __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::const_reference Definition at line 107 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> typedef _Ht::difference_type __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::difference_type Definition at line 103 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> typedef _Ht::hasher __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::hasher Definition at line 99 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> typedef _Ht::const_iterator __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::iterator Definition at line 109 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> typedef _Ht::key_equal __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::key_equal Definition at line 100 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> typedef _Ht::key_type __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::key_type Definition at line 97 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> typedef _Alloc::pointer __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::pointer Definition at line 104 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> typedef _Alloc::reference __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::reference Definition at line 106 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> typedef _Ht::size_type __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::size_type Definition at line 102 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> typedef _Ht::value_type __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::value_type Definition at line 98 of file hash_set.
Constructor & Destructor Documentation
template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::hash_set () [inline] Definition at line 126 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::hash_set (size_type __n) [inline], [explicit] Definition at line 130 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::hash_set (size_type __n, const hasher & __hf) [inline] Definition at line 133 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::hash_set (size_type __n, const hasher & __hf, const key_equal & __eql, const allocator_type & __a = allocator_type()) [inline] Definition at line 136 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> template<class _InputIterator > __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::hash_set (_InputIterator __f, _InputIterator __l) [inline] Definition at line 141 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> template<class _InputIterator > __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::hash_set (_InputIterator __f, _InputIterator __l, size_type __n) [inline] Definition at line 146 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> template<class _InputIterator > __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::hash_set (_InputIterator __f, _InputIterator __l, size_type __n, const hasher & __hf) [inline] Definition at line 151 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> template<class _InputIterator > __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::hash_set (_InputIterator __f, _InputIterator __l, size_type __n, const hasher & __hf, const key_equal & __eql, const allocator_type & __a = allocator_type()) [inline] Definition at line 157 of file hash_set.
Member Function Documentation
template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> iterator __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::begin () const [inline] Definition at line 185 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> size_type __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::bucket_count () const [inline] Definition at line 245 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> void __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::clear () [inline] Definition at line 237 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> size_type __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::count (const key_type & __key) const [inline] Definition at line 217 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> size_type __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::elems_in_bucket (size_type __n) const [inline] Definition at line 253 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> _GLIBCXX_NODISCARD bool __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::empty () const [inline] Definition at line 172 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> iterator __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::end () const [inline] Definition at line 189 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> pair< iterator, iterator > __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::equal_range (const key_type & __key) const [inline] Definition at line 221 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> size_type __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::erase (const key_type & __key) [inline] Definition at line 225 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> void __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::erase (iterator __f, iterator __l) [inline] Definition at line 233 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> void __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::erase (iterator __it) [inline] Definition at line 229 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> iterator __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::find (const key_type & __key) const [inline] Definition at line 213 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> allocator_type __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::get_allocator () const [inline] Definition at line 123 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> hasher __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::hash_funct () const [inline] Definition at line 115 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> template<class _InputIterator > void __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::insert (_InputIterator __f, _InputIterator __l) [inline] Definition at line 201 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> pair< iterator, bool > __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::insert (const value_type & __obj) [inline] Definition at line 193 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> pair< iterator, bool > __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::insert_noresize (const value_type & __obj) [inline] Definition at line 205 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> key_equal __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::key_eq () const [inline] Definition at line 119 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> size_type __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::max_bucket_count () const [inline] Definition at line 249 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> size_type __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::max_size () const [inline] Definition at line 168 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> void __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::resize (size_type __hint) [inline] Definition at line 241 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> size_type __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::size () const [inline] Definition at line 164 of file hash_set. template<class _Value , class _HashFcn = hash<_Value>, class _EqualKey = equal_to<_Value>, class _Alloc = allocator<_Value>> void __gnu_cxx::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::swap (hash_set< _Value, _HashFcn, _EqualKey, _Alloc > & __hs) [inline] Definition at line 176 of file hash_set.
Author
Generated automatically by Doxygen for libstdc++ from the source code. libstdc++ __gnu_cxx::hash_set<02Value, _HashFcn, _EqualKey, _Alloc >(3cxx)