STD::__DEBUG::UNORDERED_SET(3cxx)
π std::__debug::unordered_set< _Value, _Hash, _Pred, _Alloc > π
Okay so this is a libstdc++ manual page, bestie, and it's for std::__debug::unordered_set< _Value, _Hash, _Pred, _Alloc >. The vibe is literally: a std::unordered_set with safety/checking/debug instrumentation. No cap. β¨
β¨ NAME β¨
std::__debug::unordered_set< _Value, _Hash, _Pred, _Alloc > - Class std::unordered_set with safety/checking/debug instrumentation.
πΈ SYNOPSIS πΈ
#include <unordered_set>
Inherits __gnu_debug::_Safe_container< _SafeContainer, _Alloc, _SafeBase, _IsCxx11AllocatorAware >, and unordered_set< _Value, std::hash< _Value >, std::equal_to< _Value >, std::allocator< _Value > >.
π¦ Public Types π¦
typedef _Base::allocator_type allocator_typeβ the allocator type, exactly as listed πtypedef __gnu_debug::_Safe_iterator< _Base_const_iterator, unordered_set > const_iteratorβ the const iterator typetypedef __gnu_debug::_Safe_local_iterator< _Base_const_local_iterator, unordered_set > const_local_iteratorβ the const local iterator typetypedef _Base::const_pointer const_pointerβ const pointer typetypedef _Base::const_reference const_referenceβ const reference typetypedef _Base::difference_type difference_typeβ difference typetypedef _Base::hasher hasherβ hasher typeusing insert_return_type = _Node_insert_return< iterator, node_type >β insert return typetypedef __gnu_debug::_Safe_iterator< _Base_iterator, unordered_set > iteratorβ iterator typetypedef _Base::key_equal key_equalβ key equality typetypedef _Base::key_type key_typeβ key typetypedef __gnu_debug::_Safe_local_iterator< _Base_local_iterator, unordered_set > local_iteratorβ local iterator typeusing node_type = typename _Base::node_typeβ node typetypedef _Base::pointer pointerβ pointer typetypedef _Base::reference referenceβ reference typetypedef _Base::size_type size_typeβ size typetypedef _Base::value_type value_typeβ value type
π Public Member Functions π
Here's the full roster, bestie β every single signature, no skips:
unordered_set (_Base_ref __x)template<typename _InputIterator > unordered_set (_InputIterator __first, _InputIterator __last, size_type __n, const allocator_type &__a)template<typename _InputIterator > unordered_set (_InputIterator __first, _InputIterator __last, size_type __n, const hasher &__hf, const allocator_type &__a)template<typename _InputIterator > unordered_set (_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_set (const allocator_type &__a)unordered_set (const unordered_set &)=defaultunordered_set (const unordered_set &__uset, const allocator_type &__a)unordered_set (initializer_list< value_type > __l, size_type __n, const allocator_type &__a)unordered_set (initializer_list< value_type > __l, size_type __n, const hasher &__hf, const allocator_type &__a)unordered_set (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_set (size_type __n, const allocator_type &__a)unordered_set (size_type __n, const hasher &__hf, const allocator_type &__a)unordered_set (size_type __n, const hasher &__hf=hasher(), const key_equal &__eql=key_equal(), const allocator_type &__a=allocator_type())unordered_set (unordered_set &&)=defaultunordered_set (unordered_set &&__uset, const allocator_type &__a) noexcept(noexcept(_Base(std::move(__uset), __a)))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> std::pair< iterator, bool > 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) consttemplate<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) consttemplate<typename _InputIterator > void insert (_InputIterator __first, _InputIterator __last)std::pair< iterator, bool > 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)insert_return_type insert (node_type &&__nh)void insert (std::initializer_list< value_type > __l)std::pair< iterator, bool > insert (value_type &&__obj)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_set & operator= (const unordered_set &)=defaultunordered_set & operator= (initializer_list< value_type > __l)unordered_set & operator= (unordered_set &&)=defaultvoid swap (unordered_set &__x) noexcept(noexcept(declval< _Base & >().swap(__x)))
π Protected Member Functions π
constexpr void _M_swap (_Safe_container &__x) noexcept
π«Ά Friends π«Ά
template<typename _ItT , typename _SeqT , typename _CatT > class ::__gnu_debug::_Safe_iteratortemplate<typename _ItT , typename _SeqT > class ::__gnu_debug::_Safe_local_iterator
π¦ Detailed Description π¦
template<typename _Value, typename _Hash = std::hash<_Value>, typename _Pred = std::equal_to<_Value>, typename _Alloc = std::allocator<_Value>>
class std::__debug::unordered_set< _Value, _Hash, _Pred, _Alloc >
"Class std::unordered_set with safety/checking/debug instrumentation."
π Author π
Generated automatically by Doxygen for libstdc++ from the source code.
Okay that's the whole page, bestie. Cute sign-off: it's from libstdc++; the original footer line is literally libstdstd::__debug::..._Pred, _Alloc >(3cxx), and the page doesn't print a separate date, so I'm not inventing one. πβ¨
π¦ 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