STD::__DEBUG::MULTIMAP(3cxx)
π NAME π
Okay bestie, welcome to the 3cxx manual page for std::__debug::multimap< _Key, _Tp, _Compare, _Allocator > β literally Class std::multimap with safety/checking/debug instrumentation. Thatβs the whole name vibe: itβs the debug/safety-instrumented flavor of std::multimap, and the class name is exactly as above, no rebranding, no cap.
β¨ SYNOPSIS β¨
#include <map>
Inherits:
Inherits __gnu_debug::_Safe_container< _SafeContainer, _Alloc, _SafeBase, _IsCxx11AllocatorAware >, and multimap< _Key, _Tp, std::less< _Key >, std::allocator< std::pair< const _Key, _Tp > > >.
π Public Types π
Type roster, in order, no skips:
typedef _Allocator allocator_typetypedef __gnu_debug::_Safe_iterator< _Base_const_iterator, multimap > const_iteratortypedef _Base::const_pointer const_pointertypedef _Base::const_reference const_referencetypedef std::reverse_iterator< const_iterator > const_reverse_iteratortypedef _Base::difference_type difference_typetypedef __gnu_debug::_Safe_iterator< _Base_iterator, multimap > iteratortypedef _Compare key_comparetypedef _Key key_typetypedef _Tp mapped_typeusing node_type = typename _Base::node_typetypedef _Base::pointer pointertypedef _Base::reference referencetypedef std::reverse_iterator< iterator > reverse_iteratortypedef _Base::size_type size_typetypedef std::pair< const _Key, _Tp > value_type
πΈ Public Member Functions πΈ
Okay this is the big one β every public member function, exactly in the order the page gives them. No merging, no renaming, no βclose enough,β periodt:
multimap (_Base_ref __x)template<typename _InputIterator > multimap (_InputIterator __first, _InputIterator __last, const _Compare &__comp=_Compare(), const _Allocator &__a=_Allocator())template<typename _InputIterator > multimap (_InputIterator __first, _InputIterator __last, const allocator_type &__a)multimap (const _Compare &__comp, const _Allocator &__a=_Allocator())multimap (const allocator_type &__a)multimap (const multimap &)=defaultmultimap (const multimap &__m, const __type_identity_t< allocator_type > &__a)multimap (initializer_list< value_type > __l, const _Compare &__c=_Compare(), const allocator_type &__a=allocator_type())multimap (initializer_list< value_type > __l, const allocator_type &__a)multimap (multimap &&)=defaultmultimap (multimap &&__m, const __type_identity_t< allocator_type > &__a) noexcept(noexcept(_Base(std::move(__m), __a)))const _Base & _M_base () const noexcept_Base & _M_base () noexceptconst_iterator begin () const noexceptiterator begin () noexceptconst_iterator cbegin () const noexceptconst_iterator cend () const noexceptvoid clear () noexceptconst_reverse_iterator crbegin () const noexceptconst_reverse_iterator crend () const noexcepttemplate<typename... _Args> iterator emplace (_Args &&... __args)template<typename... _Args> iterator emplace_hint (const_iterator __pos, _Args &&... __args)const_iterator end () const noexceptiterator end () noexcepttemplate<typename _Kt , typename _Req = typename __has_is_transparent<_Compare, _Kt>::type> std::pair< iterator, iterator > equal_range (const _Kt &__x)template<typename _Kt , typename _Req = typename __has_is_transparent<_Compare, _Kt>::type> std::pair< const_iterator, const_iterator > equal_range (const _Kt &__x) conststd::pair< iterator, iterator > equal_range (const key_type &__x)std::pair< const_iterator, const_iterator > equal_range (const key_type &__x) const_Base_iterator erase (_Base_const_iterator __position)size_type erase (const key_type &__x)iterator erase (const_iterator __first, const_iterator __last)iterator erase (const_iterator __position)_GLIBCXX_ABI_TAG_CXX11 iterator erase (iterator __position)node_type extract (const key_type &__key)node_type extract (const_iterator __position)template<typename _Kt , typename _Req = typename __has_is_transparent<_Compare, _Kt>::type> iterator find (const _Kt &__x)template<typename _Kt , typename _Req = typename __has_is_transparent<_Compare, _Kt>::type> const_iterator find (const _Kt &__x) constiterator find (const key_type &__x)const_iterator find (const key_type &__x) consttemplate<typename _InputIterator > void insert (_InputIterator __first, _InputIterator __last)template<typename _Pair , typename = typename std::enable_if<std::is_constructible<value_type, _Pair&&>::value>::type> iterator insert (_Pair &&__x)iterator insert (const value_type &__x)iterator insert (const_iterator __hint, node_type &&__nh)template<typename _Pair , typename = typename std::enable_if<std::is_constructible<value_type, _Pair&&>::value>::type> iterator insert (const_iterator __position, _Pair &&__x)iterator insert (const_iterator __position, const value_type &__x)iterator insert (const_iterator __position, value_type &&__x)iterator insert (node_type &&__nh)void insert (std::initializer_list< value_type > __list)iterator insert (value_type &&__x)template<typename _Kt , typename _Req = typename __has_is_transparent<_Compare, _Kt>::type> iterator lower_bound (const _Kt &__x)template<typename _Kt , typename _Req = typename __has_is_transparent<_Compare, _Kt>::type> const_iterator lower_bound (const _Kt &__x) constiterator lower_bound (const key_type &__x)const_iterator lower_bound (const key_type &__x) constmultimap & operator= (const multimap &)=defaultmultimap & operator= (initializer_list< value_type > __l)multimap & operator= (multimap &&)=defaultconst_reverse_iterator rbegin () const noexceptreverse_iterator rbegin () noexceptconst_reverse_iterator rend () const noexceptreverse_iterator rend () noexceptvoid swap (multimap &__x) noexcept(/*conditional */)template<typename _Kt , typename _Req = typename __has_is_transparent<_Compare, _Kt>::type> iterator upper_bound (const _Kt &__x)template<typename _Kt , typename _Req = typename __has_is_transparent<_Compare, _Kt>::type> const_iterator upper_bound (const _Kt &__x) constiterator upper_bound (const key_type &__x)const_iterator upper_bound (const key_type &__x) const
π‘οΈ Protected Member Functions π‘οΈ
The protected-era section, keeping it exactly as listed:
constexpr void _M_swap (_Safe_container &__x) noexcept
π« Friends π«
Friend list, tiny but iconic:
template<typename _ItT , typename _SeqT , typename _CatT > class ::__gnu_debug::_Safe_iterator
π Detailed Description π
Hereβs the exact detailed-description block, template signature and all β including the quirky >"Class bit, because we do not edit the lore:
template<typename _Key, typename _Tp, typename _Compare = std::less<_Key>,
typename _Allocator = std::allocator<std::pair<const _Key, _Tp> > >
class std::__debug::multimap< _Key, _Tp, _Compare, _Allocator >"Class
std::multimap with safety/checking/debug instrumentation.
So yeah: itβs std::multimap with safety/checking/debug instrumentation. Thatβs the main-character energy. π
π Author π
Generated automatically by Doxygen for libstdc++ from the source code.
Robots wrote that part, not me β iconic behavior, honestly. π€β¨
π Thatβs the whole page, bestie. Source/version sign-off: libstdc++, with the 3cxx manual name in the mix; the supplied footer doesnβt print a separate date, so Iβm not inventing one β this cute sign-off is standing in for the raw footer. π«Άβ¨
π¦ where this page comes from
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms