STD::__DEBUG::UNORDERED_MULTISET(3cxx)
π NAME π
Okay bestie, this is the 3cxx manual page for std::__debug::unordered_multiset< _Value, _Hash, _Pred, _Alloc >. The official name vibe is: Class std::unordered_multiset with safety/checking/debug instrumentation. That's literally it β debug-instrumented unordered multiset energy, no cap. π«Ά
π SYNOPSIS π
Include the header like this, exactly:
#include <unordered_set>
It inherits from __gnu_debug::_Safe_container< _SafeContainer, _Alloc, _SafeBase, _IsCxx11AllocatorAware >, and also from unordered_multiset< _Value, std::hash< _Value >, std::equal_to< _Value >, std::allocator< _Value > >. Inheritance era, fr fr. π§
π Public Types π
Here's the whole typedef cast, bestie β no skips, no summarising, no "you get the idea" behavior:
typedef _Base::allocator_type allocator_typetypedef __gnu_debug::_Safe_iterator< _Base_const_iterator, unordered_multiset > const_iteratortypedef __gnu_debug::_Safe_local_iterator< _Base_const_local_iterator, unordered_multiset > const_local_iteratortypedef _Base::const_pointer const_pointertypedef _Base::const_reference const_referencetypedef _Base::difference_type difference_typetypedef _Base::hasher hashertypedef __gnu_debug::_Safe_iterator< _Base_iterator, unordered_multiset > iteratortypedef _Base::key_equal key_equaltypedef _Base::key_type key_typetypedef __gnu_debug::_Safe_local_iterator< _Base_local_iterator, unordered_multiset > local_iteratorusing node_type = typename _Base::node_typetypedef _Base::pointer pointertypedef _Base::reference referencetypedef _Base::size_type size_typetypedef _Base::value_type value_type
π¦ Public Member Functions π¦
This is the full member-function guest list. Every signature stays character-for-character iconic. π
β¨ Constructors (the "make it exist" era) β¨
unordered_multiset (_Base_ref __x)template<typename _InputIterator > unordered_multiset (_InputIterator __first, _InputIterator __last, size_type __n, const allocator_type &__a)template<typename _InputIterator > unordered_multiset (_InputIterator __first, _InputIterator __last, size_type __n, const hasher &__hf, const allocator_type &__a)template<typename _InputIterator > unordered_multiset (_InputIterator __first, _InputIterator __last, size_type __n=0, const hasher &__hf=hasher(), const key_equal &__eql=key_equal(), const allocator_type &__a=allocator_type())unordered_multiset (const allocator_type &__a)unordered_multiset (const unordered_multiset &)=defaultunordered_multiset (const unordered_multiset &__uset, const allocator_type &__a)unordered_multiset (initializer_list< value_type > __l, size_type __n, const allocator_type &__a)unordered_multiset (initializer_list< value_type > __l, size_type __n, const hasher &__hf, const allocator_type &__a)unordered_multiset (initializer_list< value_type > __l, size_type __n=0, const hasher &__hf=hasher(), const key_equal &__eql=key_equal(), const allocator_type &__a=allocator_type())unordered_multiset (size_type __n, const allocator_type &__a)unordered_multiset (size_type __n, const hasher &__hf, const allocator_type &__a)unordered_multiset (size_type __n, const hasher &__hf=hasher(), const key_equal &__eql=key_equal(), const allocator_type &__a=allocator_type())unordered_multiset (unordered_multiset &&)=defaultunordered_multiset (unordered_multiset &&__uset, const allocator_type &__a) noexcept(noexcept(_Base(std::move(__uset), __a)))
π§ Base access + begin/end/bucket crew π§
const _Base & _M_base () const noexcept_Base & _M_base () noexceptconst_iterator begin () const noexceptiterator begin () noexceptlocal_iterator begin (size_type __b)const_local_iterator begin (size_type __b) constsize_type bucket_size (size_type __b) constconst_iterator cbegin () const noexceptconst_local_iterator cbegin (size_type __b) constconst_iterator cend () const noexceptconst_local_iterator cend (size_type __b) constvoid clear () noexcepttemplate<typename... _Args> iterator emplace (_Args &&... __args)template<typename... _Args> iterator emplace_hint (const_iterator __hint, _Args &&... __args)const_iterator end () const noexceptiterator end () noexceptlocal_iterator end (size_type __b)const_local_iterator end (size_type __b) const
πΈ equal_range + erase + extract + find πΈ
template<typename _Kt , typename = std::__has_is_transparent_t<_Hash, _Kt>, typename = std::__has_is_transparent_t<_Pred, _Kt>> std::pair< iterator, iterator > equal_range (const _Kt &__k)template<typename _Kt , typename = std::__has_is_transparent_t<_Hash, _Kt>, typename = std::__has_is_transparent_t<_Pred, _Kt>> std::pair< const_iterator, const_iterator > equal_range (const _Kt &__k) conststd::pair< iterator, iterator > equal_range (const key_type &__key)std::pair< const_iterator, const_iterator > equal_range (const key_type &__key) const_Base_iterator erase (_Base_const_iterator __it)size_type erase (const key_type &__key)iterator erase (const_iterator __first, const_iterator __last)iterator erase (const_iterator __it)iterator erase (iterator __it)node_type extract (const key_type &__key)node_type extract (const_iterator __position)template<typename _Kt , typename = std::__has_is_transparent_t<_Hash, _Kt>, typename = std::__has_is_transparent_t<_Pred, _Kt>> iterator find (const _Kt &__k)template<typename _Kt , typename = std::__has_is_transparent_t<_Hash, _Kt>, typename = std::__has_is_transparent_t<_Pred, _Kt>> const_iterator find (const _Kt &__k) constiterator find (const key_type &__key)const_iterator find (const key_type &__key) const
π insert era π
template<typename _InputIterator > void insert (_InputIterator __first, _InputIterator __last)iterator insert (const value_type &__obj)iterator insert (const_iterator __hint, const value_type &__obj)iterator insert (const_iterator __hint, node_type &&__nh)iterator insert (const_iterator __hint, value_type &&__obj)iterator insert (node_type &&__nh)void insert (std::initializer_list< value_type > __l)iterator insert (value_type &&__obj)
π₯ load factor + merge + assignment + swap π₯
float max_load_factor () const noexceptvoid max_load_factor (float __f)template<typename _H2 , typename _P2 > void merge (unordered_multiset< _Value, _H2, _P2, _Alloc > &&__source)template<typename _H2 , typename _P2 > void merge (unordered_multiset< _Value, _H2, _P2, _Alloc > &__source)template<typename _H2 , typename _P2 > void merge (unordered_set< _Value, _H2, _P2, _Alloc > &&__source)template<typename _H2 , typename _P2 > void merge (unordered_set< _Value, _H2, _P2, _Alloc > &__source)unordered_multiset & operator= (const unordered_multiset &)=defaultunordered_multiset & operator= (initializer_list< value_type > __l)unordered_multiset & operator= (unordered_multiset &&)=defaultvoid swap (unordered_multiset &__x) noexcept(noexcept(declval< _Base & >().swap(__x)))
π Protected Member Functions π
One protected icon, and she's staying exactly as printed:
constexpr void _M_swap (_Safe_container &__x) noexcept
π Friends π
The friend list is short but very main-character energy:
template<typename _ItT , typename _SeqT , typename _CatT > class ::__gnu_debug::_Safe_iteratortemplate<typename _ItT , typename _SeqT > class ::__gnu_debug::_Safe_local_iterator
β Detailed Description β
The page spells the whole template out like this, and yes, I'm keeping every character including the slightly chaotic quote moment, bestie β not me "fixing" the source text:
template<typename _Value, typename _Hash = std::hash<_Value>, typename _Pred
= std::equal_to<_Value>, typename _Alloc = std::allocator<_Value>>
class std::__debug::unordered_multiset< _Value, _Hash, _Pred, _Alloc
>"Class std::unordered_multiset with safety/checking/debug
instrumentation.
So the class being described is literally: Class std::unordered_multiset with safety/checking/debug instrumentation. Periodt. β¨
π Author π
Generated automatically by Doxygen for libstdc++ from the source code.
Source/version vibes: this is libstdc++'s Doxygen-generated page for the manual page std::__debug::unordered_multiset< _Value, _Hash, _Pred, _Alloc >(3cxx). The footer date didn't show up in the source text I got, so I'm not inventing one β mwah, take care of your debug containers, bestie ππ
π¦ 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