42#ifndef PB_DS_BINARY_HEAP_CONST_FIND_ITERATOR_HPP
43#define PB_DS_BINARY_HEAP_CONST_FIND_ITERATOR_HPP
53 template<
typename Value_Type,
typename Entry,
bool Simple,
55 class binary_heap_point_const_iterator_
78 typedef typename rebind_traits<_Alloc, value_type>::reference
82 typedef typename rebind_traits<_Alloc, value_type>::const_reference
103 _GLIBCXX_DEBUG_ASSERT(m_p_e != 0);
104 return to_ptr(integral_constant<int, Simple>());
111 _GLIBCXX_DEBUG_ASSERT(m_p_e != 0);
112 return *to_ptr(integral_constant<int, Simple>());
117 operator==(
const binary_heap_point_const_iterator_& other)
const
118 {
return m_p_e == other.m_p_e; }
122 operator!=(
const binary_heap_point_const_iterator_& other)
const
123 {
return m_p_e != other.m_p_e; }
127 to_ptr(true_type)
const
131 to_ptr(false_type)
const
void trivial_iterator_difference_type
Prohibit moving trivial iterators.
GNU extensions for policy-based data structures for public use.
A trivial iterator tag. Signifies that the iterators has none of std::iterators's movement abilities.
Consistent API for accessing allocator-related types.
bool operator==(const binary_heap_point_const_iterator_ &other) const
Compares content to a different iterator object.
trivial_iterator_tag iterator_category
rebind_traits< _Alloc, value_type >::const_pointer const_pointer
rebind_traits< _Alloc, value_type >::pointer pointer
binary_heap_point_const_iterator_(const binary_heap_point_const_iterator_ &other)
Copy constructor.
const_reference operator*() const
Access.
binary_heap_point_const_iterator_()
Default constructor.
const_pointer operator->() const
Access.
bool operator!=(const binary_heap_point_const_iterator_ &other) const
Compares content (negatively) to a different iterator object.
rebind_traits< _Alloc, value_type >::reference reference
trivial_iterator_difference_type difference_type
rebind_traits< _Alloc, value_type >::const_reference const_reference