__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 an entry_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 a binary_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 a binary_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 on template<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