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,
63 typedef PB_DS_BIN_HEAP_CIT_BASE
base_type;
64 typedef typename base_type::entry_pointer entry_pointer;
106 {
return base_type::m_p_e == other.m_p_e; }
111 {
return base_type::m_p_e != other.m_p_e; }
116 _GLIBCXX_DEBUG_ASSERT(base_type::m_p_e != 0);
132 { ++base_type::m_p_e; }
135 #undef PB_DS_BIN_HEAP_CIT_BASE
bool operator==(const binary_heap_const_iterator_ &other) const
Compares content to a different iterator object.
Const point-type iterator.
_Alloc::difference_type difference_type
Difference type.
Forward iterators support a superset of input iterator operations.
base_type::const_reference const_reference
Iterator's const reference type.
binary_heap_const_iterator_()
Default constructor.
GNU extensions for policy-based data structures for public use.
base_type::reference reference
Iterator's reference type.
binary_heap_const_iterator_(const binary_heap_const_iterator_ &other)
Copy constructor.
_Alloc::template rebind< value_type >::other::reference reference
Iterator's reference type.
Const point-type iterator.
_Alloc::template rebind< value_type >::other::const_reference const_reference
Iterator's const reference type.
base_type::value_type value_type
Iterator's value type.
Value_Type value_type
Iterator's value type.
bool operator!=(const binary_heap_const_iterator_ &other) const
Compares content (negatively) to a different iterator object.
std::forward_iterator_tag iterator_category
Category.
_Alloc::template rebind< value_type >::other::pointer pointer
Iterator's pointer type.
base_type::const_pointer const_pointer
Iterator's const pointer type.
base_type::pointer pointer
Iterator's pointer type.
_Alloc::template rebind< value_type >::other::const_pointer const_pointer
Iterator's const pointer type.