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<
79 value_type>::other::pointer
84 typename _Alloc::template rebind<
85 value_type>::other::const_pointer
90 typename _Alloc::template rebind<
91 value_type>::other::reference
96 typename _Alloc::template rebind<
97 value_type>::other::const_reference
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::const_reference const_reference
Iterator's const reference type.
trivial_iterator_tag iterator_category
Category.
trivial_iterator_difference_type difference_type
Difference type.
const_reference operator*() const
Access.
_Alloc::template rebind< value_type >::other::const_pointer const_pointer
Iterator's const pointer type.
left_child_next_sibling_heap_node_point_const_iterator_()
Default constructor.
bool operator==(const left_child_next_sibling_heap_node_point_const_iterator_< Node, _Alloc > &other) const
Compares content to a different iterator object.
void trivial_iterator_difference_type
Prohibit moving trivial iterators.
_Alloc::template rebind< value_type >::other::reference reference
Iterator's reference type.
A trivial iterator tag. Signifies that the iterators has none of std::iterators's movement abilities...
const_pointer operator->() const
Access.
Const point-type iterator.
Node::value_type value_type
Iterator's value type.
GNU extensions for policy-based data structures for public use.
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.
_Alloc::template rebind< value_type >::other::pointer pointer
Iterator's pointer type.