42 #ifndef PB_DS_BINARY_HEAP_CONST_ITERATOR_HPP
43 #define PB_DS_BINARY_HEAP_CONST_ITERATOR_HPP
52 #define PB_DS_BIN_HEAP_CIT_BASE \
53 binary_heap_point_const_iterator_<Value_Type, Entry, Simple, _Alloc>
56 template<
typename Value_Type,
77 typedef typename base_type::pointer
pointer;
106 {
return base_type::m_p_e == other.m_p_e; }
111 {
return base_type::m_p_e != other.m_p_e; }
132 { ++base_type::m_p_e; }
135 #undef PB_DS_BIN_HEAP_CIT_BASE
binary_heap_const_iterator_()
Default constructor.
Definition: const_iterator.hpp:94
base_type::entry_pointer entry_pointer
Definition: const_iterator.hpp:64
base_type::const_pointer const_pointer
Iterator's const pointer type.
Definition: const_iterator.hpp:80
bool operator==(const binary_heap_const_iterator_ &other) const
Compares content to a different iterator object.
Definition: const_iterator.hpp:105
void inc()
Definition: const_iterator.hpp:131
#define _GLIBCXX_DEBUG_ASSERT(_Condition)
Definition: debug.h:61
binary_heap_const_iterator_(entry_pointer p_e)
Definition: const_iterator.hpp:89
base_type::value_type value_type
Iterator's value type.
Definition: const_iterator.hpp:74
Const point-type iterator.
Definition: const_iterator.hpp:60
#define PB_DS_BIN_HEAP_CIT_BASE
Definition: const_iterator.hpp:52
bool operator!=(const binary_heap_const_iterator_ &other) const
Compares content (negatively) to a different iterator object.
Definition: const_iterator.hpp:110
std::forward_iterator_tag iterator_category
Category.
Definition: const_iterator.hpp:68
PB_DS_BIN_HEAP_CIT_BASE base_type
Definition: const_iterator.hpp:63
binary_heap_const_iterator_ & operator++()
Definition: const_iterator.hpp:114
binary_heap_const_iterator_(const binary_heap_const_iterator_ &other)
Copy constructor.
Definition: const_iterator.hpp:99
base_type::pointer pointer
Iterator's pointer type.
Definition: const_iterator.hpp:77
_Alloc::difference_type difference_type
Difference type.
Definition: const_iterator.hpp:71
base_type::const_reference const_reference
Iterator's const reference type.
Definition: const_iterator.hpp:86
base_type::reference reference
Iterator's reference type.
Definition: const_iterator.hpp:83
binary_heap_const_iterator_ operator++(int)
Definition: const_iterator.hpp:122