__GNU_PBDS::DETAIL::BINARY_HEAP_CONST_ITERATOR_(3cxx)
β¨ NAME β¨
__gnu_pbds::detail::binary_heap_const_iterator_< Value_Type, Entry, Simple, _Alloc > β bestie, it's a const point-type iterator π
Oh and hey, real quick β this whole page lives in the 3cxx manual, the libstdc++ corner of the universe π¦
πΈ SYNOPSIS πΈ
#include <const_iterator.hpp>
It inherits __gnu_pbds::detail::binary_heap_point_const_iterator_< Value_Type, Entry, Simple, _Alloc > β so like, everything the parent has, this one gets too, no cap π«Ά
π Public Types π
typedef base_type::const_pointer const_pointerβ the iterator's const pointer type. it points, but make it const πtypedef base_type::const_reference const_referenceβ the iterator's const reference type. same vibe, reference edition β¨typedef _Alloc::difference_type difference_typeβ the difference type. for when you're measuring the gap between two iterators πtypedef std::forward_iterator_tag iterator_categoryβ the category! it's a forward iterator, periodt πtypedef base_type::pointer pointerβ the iterator's pointer type πtypedef base_type::reference referenceβ the iterator's reference type πtypedef base_type::value_type value_typeβ the iterator's value type, the actual thing you're looking at π
π₯ Public Member Functions π₯
binary_heap_const_iterator_ ()β default constructor, makes one out of thin air π«binary_heap_const_iterator_ (const binary_heap_const_iterator_ &other)β copy constructor, twin energy fr fr π―binary_heap_const_iterator_ (entry_pointer p_e)β builds one from anentry_pointer, iconic π€bool operator!= (const binary_heap_const_iterator_ &other) constβ compares content, negatively, to a different iterator object. like "y'all are NOT the same" πbool operator!= (const binary_heap_point_const_iterator_ &other) constβ same negative-comparison moment, but against abinary_heap_point_const_iterator_πconst_reference operator* () constβ access. dereference and get your lil reference πbinary_heap_const_iterator_ & operator++ ()β pre-increment, moves you forward βbinary_heap_const_iterator_ operator++ (int)β post-increment, moves you forward but hands you the old one first πconst_pointer operator-> () constβ access, the arrow flavored one πΉbool operator== (const binary_heap_const_iterator_ &other) constβ compares content to a different iterator object. "omg same" π«Άbool operator== (const binary_heap_point_const_iterator_ &other) constβ same, but against abinary_heap_point_const_iterator_β¨
π Public Attributes π
entry_pointer m_p_eβ the entry pointer, just vibing out in public πΈ
π Detailed Description π
template<typename Value_Type, typename Entry, bool Simple, typename _Alloc>
class __gnu_pbds::detail::binary_heap_const_iterator_< Value_Type, Entry, Simple, _Alloc >
Const point-type iterator. that's the whole vibe, that's the whole description π
π¦ Member Typedef Documentation π¦
Every single one of these is a template<typename Value_Type , typename Entry , bool Simple, typename _Alloc >, iykyk π
typedef base_type::const_pointer __gnu_pbds::detail::binary_heap_const_iterator_< Value_Type, Entry, Simple, _Alloc >::const_pointerβ iterator's const pointer type β¨typedef base_type::const_reference __gnu_pbds::detail::binary_heap_const_iterator_< Value_Type, Entry, Simple, _Alloc >::const_referenceβ iterator's const reference type πtypedef _Alloc::difference_type __gnu_pbds::detail::binary_heap_const_iterator_< Value_Type, Entry, Simple, _Alloc >::difference_typeβ difference type πtypedef std::forward_iterator_tag __gnu_pbds::detail::binary_heap_const_iterator_< Value_Type, Entry, Simple, _Alloc >::iterator_categoryβ category πtypedef base_type::pointer __gnu_pbds::detail::binary_heap_const_iterator_< Value_Type, Entry, Simple, _Alloc >::pointerβ iterator's pointer type πtypedef base_type::reference __gnu_pbds::detail::binary_heap_const_iterator_< Value_Type, Entry, Simple, _Alloc >::referenceβ iterator's reference type π«typedef base_type::value_type __gnu_pbds::detail::binary_heap_const_iterator_< Value_Type, Entry, Simple, _Alloc >::value_typeβ iterator's value type π
π§ Constructor & Destructor Documentation π§
__gnu_pbds::detail::binary_heap_const_iterator_< Value_Type, Entry, Simple, _Alloc >::binary_heap_const_iterator_ () [inline]β default constructor, template ontemplate<typename Value_Type , typename Entry , bool Simple, typename _Alloc >. it's giving "new iterator just dropped" β__gnu_pbds::detail::binary_heap_const_iterator_< Value_Type, Entry, Simple, _Alloc >::binary_heap_const_iterator_ (const binary_heap_const_iterator_< Value_Type, Entry, Simple, _Alloc > & other) [inline]β copy constructor, same template parameters. clone behavior, slay π«Ά
π Member Function Documentation π
bool __gnu_pbds::detail::binary_heap_const_iterator_< Value_Type, Entry, Simple, _Alloc >::operator!= (const binary_heap_const_iterator_< Value_Type, Entry, Simple, _Alloc > & other) const [inline]β compares content (negatively) to a different iterator object πbool __gnu_pbds::detail::binary_heap_point_const_iterator_< Value_Type, Entry, Simple, _Alloc >::operator!= (const binary_heap_point_const_iterator_< Value_Type, Entry, Simple, _Alloc > & other) const [inline], [inherited]β compares content (negatively) to a different iterator object. yes it's the inherited one, it came from the parent π§¬const_reference __gnu_pbds::detail::binary_heap_point_const_iterator_< Value_Type, Entry, Simple, _Alloc >::operator* () const [inline], [inherited]β access. inherited too πconst_pointer __gnu_pbds::detail::binary_heap_point_const_iterator_< Value_Type, Entry, Simple, _Alloc >::operator-> () const [inline], [inherited]β access, arrow edition, also inherited πΉbool __gnu_pbds::detail::binary_heap_const_iterator_< Value_Type, Entry, Simple, _Alloc >::operator== (const binary_heap_const_iterator_< Value_Type, Entry, Simple, _Alloc > & other) const [inline]β compares content to a different iterator object β¨bool __gnu_pbds::detail::binary_heap_point_const_iterator_< Value_Type, Entry, Simple, _Alloc >::operator== (const binary_heap_point_const_iterator_< Value_Type, Entry, Simple, _Alloc > & other) const [inline], [inherited]β compares content to a different iterator object, and yep, inherited π«Ά
every single one of these is declared under template<typename Value_Type , typename Entry , bool Simple, typename _Alloc > β don't forget the template line, bestie, or the compiler WILL come for you π
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. no human wrote this, the machine did it and honestly? it ate π€π
Ok that's the whole page!! π This was the 3cxx manual, generated by Doxygen from the source code for libstdc++, and it signs off exactly like the original footer did β see you in the next manpage bestie, mwah πβ¨
π¦ 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