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