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