42#ifndef PB_DS_LEFT_CHILD_NEXT_SIBLING_HEAP_CONST_FIND_ITERATOR_HPP
43#define PB_DS_LEFT_CHILD_NEXT_SIBLING_HEAP_CONST_FIND_ITERATOR_HPP
53#define PB_DS_CLASS_T_DEC \
54 template<typename Node, typename _Alloc>
56#define PB_DS_CLASS_C_DEC \
57 left_child_next_sibling_heap_node_point_const_iterator_<Node, _Alloc>
60 template<
typename Node,
typename _Alloc>
84 typedef typename rebind_traits<_Alloc, value_type>::reference
reference;
87 typedef typename rebind_traits<_Alloc, value_type>::const_reference
108 _GLIBCXX_DEBUG_ASSERT(m_p_nd != 0);
109 return &m_p_nd->m_value;
116 _GLIBCXX_DEBUG_ASSERT(m_p_nd != 0);
117 return m_p_nd->m_value;
123 {
return m_p_nd == other.m_p_nd; }
128 {
return m_p_nd != other.m_p_nd; }
133#undef PB_DS_CLASS_T_DEC
134#undef PB_DS_CLASS_C_DEC
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.
Const point-type iterator.
bool operator==(const left_child_next_sibling_heap_node_point_const_iterator_< Node, _Alloc > &other) const
Compares content to a different iterator object.
Node::value_type value_type
Iterator's value type.
const_pointer operator->() const
Access.
left_child_next_sibling_heap_node_point_const_iterator_()
Default constructor.
rebind_traits< _Alloc, value_type >::reference reference
Iterator's reference type.
left_child_next_sibling_heap_node_point_const_iterator_(const left_child_next_sibling_heap_node_point_const_iterator_< Node, _Alloc > &other)
Copy constructor.
const_reference operator*() const
Access.
trivial_iterator_difference_type difference_type
Difference type.
rebind_traits< _Alloc, value_type >::const_pointer const_pointer
Iterator's const pointer type.
trivial_iterator_tag iterator_category
Category.
bool operator!=(const left_child_next_sibling_heap_node_point_const_iterator_< Node, _Alloc > &other) const
Compares content (negatively) to a different iterator object.
rebind_traits< _Alloc, value_type >::const_reference const_reference
Iterator's const reference type.
rebind_traits< _Alloc, value_type >::pointer pointer
Iterator's pointer type.