__GNU_CXX::HASH_MULTIMAP(3cxx)
π NAME π
Okay so welcome to the 3cxx manual page for __gnu_cxx::hash_multimap< _Key, _Tp, _HashFn, _EqualKey, _Alloc >. Five template parameters, one class template, zero cap. β¨
β¨ SYNOPSIS β¨
Start here, bestie:
#include <hash_map>
π Public Types π
The typedef guest list, exactly as written β no renames, no merges, no skipped entries:
typedef _Ht::allocator_type allocator_typetypedef _Ht::const_iterator const_iteratortypedef _Ht::const_pointer const_pointertypedef _Ht::const_reference const_referencetypedef _Tp data_typetypedef _Ht::difference_type difference_typetypedef _Ht::hasher hashertypedef _Ht::iterator iteratortypedef _Ht::key_equal key_equaltypedef _Ht::key_type key_typetypedef _Tp mapped_typetypedef _Ht::pointer pointertypedef _Ht::reference referencetypedef _Ht::size_type size_typetypedef _Ht::value_type value_type
π¦ Public Member Functions π¦
Every single one is invited to the function party β constructors first, then the rest, in the exact order from the page:
template<class _InputIterator > hash_multimap (_InputIterator __f, _InputIterator __l)template<class _InputIterator > hash_multimap (_InputIterator __f, _InputIterator __l, size_type __n)template<class _InputIterator > hash_multimap (_InputIterator __f, _InputIterator __l, size_type __n, const hasher &__hf)template<class _InputIterator > hash_multimap (_InputIterator __f, _InputIterator __l, size_type __n, const hasher &__hf, const key_equal &__eql, const allocator_type &__a=allocator_type())hash_multimap (size_type __n)hash_multimap (size_type __n, const hasher &__hf)hash_multimap (size_type __n, const hasher &__hf, const key_equal &__eql, const allocator_type &__a=allocator_type())iterator begin ()const_iterator begin () constsize_type bucket_count () constvoid clear ()size_type count (const key_type &__key) constsize_type elems_in_bucket (size_type __n) constbool empty () constiterator end ()const_iterator end () constpair< iterator, iterator > equal_range (const key_type &__key)pair< const_iterator, const_iterator > equal_range (const key_type &__key) constsize_type erase (const key_type &__key)void erase (iterator __f, iterator __l)void erase (iterator __it)iterator find (const key_type &__key)const_iterator find (const key_type &__key) constallocator_type get_allocator () consthasher hash_funct () consttemplate<class _InputIterator > void insert (_InputIterator __f, _InputIterator __l)iterator insert (const value_type &__obj)iterator insert_noresize (const value_type &__obj)key_equal key_eq () constsize_type max_bucket_count () constsize_type max_size () constvoid resize (size_type __hint)size_type size () constvoid swap (hash_multimap &__hs)
π Friends π
Only one friend in this squad, and yes, the template params are written with those exact spaces:
template<class _K1 , class _T1 , class _HF , class _EqK , class _Al > bool operator== (const hash_multimap< _K1, _T1, _HF, _EqK, _Al > &, const hash_multimap< _K1, _T1, _HF, _EqK, _Al > &)
π Detailed Description π
Hereβs the class template signature with every default kept exactly where it belongs:
template<class _Key, class _Tp, class _HashFn = hash<_Key>, class _EqualKey = equal_to<_Key>, class _Alloc = allocator<_Tp>>
class __gnu_cxx::hash_multimap< _Key, _Tp, _HashFn, _EqualKey, _Alloc >"This is an SGI extension.
And yes, the description literally says: This is an SGI extension. π«Ά
π Todo π
Needs documentation! See http://gcc.gnu.org/onlinedocs/libstdc++/manual/documentation_style.html
π Author π
Generated automatically by Doxygen for libstdc++ from the source code.
Source/version/date sign-off: this is libstdc++ energy, and the footer stamp is libstd__gnu_cxx::has...alKey, _Alloc >(3cxx). Byeee, stay iconic πβ¨
π¦ where this page comes from
- debian trixie: libstdc++-12-doc 12.4.0-5
- debian trixie: libstdc++-13-doc 13.3.0-16
- ubuntu noble: libstdc++-12-doc 12.3.0-17ubuntu1
- ubuntu noble: libstdc++-12-doc 12.4.0-2ubuntu1~24.04.1
- ubuntu noble: libstdc++-13-doc 13.2.0-23ubuntu4
- ubuntu noble: libstdc++-13-doc 13.3.0-6ubuntu2~24.04.1
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- ubuntu questing: libstdc++-12-doc 12.5.0-6ubuntu1
- ubuntu questing: libstdc++-13-doc 13.4.0-4ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms