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>
64 typedef typename _Alloc::template rebind<Node>::other::pointer node_pointer;
78 typename _Alloc::template rebind<
84 typename _Alloc::template rebind<
90 typename _Alloc::template rebind<
96 typename _Alloc::template rebind<
118 _GLIBCXX_DEBUG_ASSERT(m_p_nd != 0);
119 return &m_p_nd->m_value;
126 _GLIBCXX_DEBUG_ASSERT(m_p_nd != 0);
127 return m_p_nd->m_value;
133 {
return m_p_nd == other.m_p_nd; }
138 {
return m_p_nd != other.m_p_nd; }
143 #undef PB_DS_CLASS_T_DEC
144 #undef PB_DS_CLASS_C_DEC
_Alloc::template rebind< value_type >::other::pointer pointer
Iterator's pointer type.
trivial_iterator_difference_type difference_type
Difference type.
const_reference operator*() const
Access.
A trivial iterator tag. Signifies that the iterators has none of std::iterators's movement abilities...
left_child_next_sibling_heap_node_point_const_iterator_()
Default constructor.
trivial_iterator_tag iterator_category
Category.
_Alloc::template rebind< value_type >::other::reference reference
Iterator's reference type.
_Alloc::template rebind< value_type >::other::const_pointer const_pointer
Iterator's const pointer type.
bool operator==(const left_child_next_sibling_heap_node_point_const_iterator_< Node, _Alloc > &other) const
Compares content to a different iterator object.
const_pointer operator->() const
Access.
Const point-type iterator.
Node::value_type value_type
Iterator's value type.
void trivial_iterator_difference_type
Prohibit moving trivial iterators.
_Alloc::template rebind< value_type >::other::const_reference const_reference
Iterator's const 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.
bool operator!=(const left_child_next_sibling_heap_node_point_const_iterator_< Node, _Alloc > &other) const
Compares content (negatively) to a different iterator object.