---
name: "__gnu_cxx::hash_multimap"
section: "3cxx"
platform: "linux"
package: "libstdc++-12-doc"
version: "12.4.0-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/__gnu_cxx::hash_multimap/3cxx"
---

# \_\_gnu\_cxx::hash\_multimap(3cxx)

## NAME

\_\_gnu\_cxx::hash\_multimap\< \_Key, \_Tp, \_HashFn, \_EqualKey, \_Alloc \>

## SYNOPSIS

`#include <hash_map>`

### Public Types

typedef \_Ht::allocator\_type **allocator\_type**\
 typedef \_Ht::const\_iterator **const\_iterator**\
 typedef \_Ht::const\_pointer **const\_pointer**\
 typedef \_Ht::const\_reference **const\_reference**\
 typedef \_Tp **data\_type**\
 typedef \_Ht::difference\_type **difference\_type**\
 typedef \_Ht::hasher **hasher**\
 typedef \_Ht::iterator **iterator**\
 typedef \_Ht::key\_equal **key\_equal**\
 typedef \_Ht::key\_type **key\_type**\
 typedef \_Tp **mapped\_type**\
 typedef \_Ht::pointer **pointer**\
 typedef \_Ht::reference **reference**\
 typedef \_Ht::size\_type **size\_type**\
 typedef \_Ht::value\_type **value\_type**\

### Public Member Functions

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** () 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\
 bool **empty** () const\
 iterator **end** ()\
 const\_iterator **end** () const\
 **pair**\< iterator, iterator \> **equal\_range** (const key\_type &\_\_key)\
 **pair**\< const\_iterator, const\_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\_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)\
 iterator **insert** (const value\_type &\_\_obj)\
 iterator **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\_multimap** &\_\_hs)\

### Friends

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

### 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.

**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.
