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
GNU extensions for policy-based data structures for public use.
Forward iterators support a superset of input iterator operations.
Const point-type iterator.
base_type::pointer pointer
Iterator's pointer type.
base_type::const_reference const_reference
Iterator's const reference type.
bool operator==(const binary_heap_const_iterator_ &other) const
Compares content to a different iterator object.
_Alloc::difference_type difference_type
Difference type.
base_type::const_pointer const_pointer
Iterator's const pointer type.
std::forward_iterator_tag iterator_category
Category.
base_type::reference reference
Iterator's reference type.
bool operator!=(const binary_heap_const_iterator_ &other) const
Compares content (negatively) to a different iterator object.
binary_heap_const_iterator_(const binary_heap_const_iterator_ &other)
Copy constructor.
binary_heap_const_iterator_()
Default constructor.
base_type::value_type value_type
Iterator's value type.
Const point-type iterator.
rebind_traits< _Alloc, value_type >::const_pointer const_pointer
Iterator's const pointer type.
rebind_traits< _Alloc, value_type >::pointer pointer
Iterator's pointer type.
Value_Type value_type
Iterator's value type.
rebind_traits< _Alloc, value_type >::reference reference
Iterator's reference type.
rebind_traits< _Alloc, value_type >::const_reference const_reference
Iterator's const reference type.