45#ifdef PB_DS_CLASS_C_DEC
49class point_const_iterator_
53 typedef trivial_iterator_tag iterator_category;
59 typedef value_type_ value_type;
62 typedef pointer_ pointer;
65 typedef const_pointer_ const_pointer;
68 typedef reference_ reference;
71 typedef const_reference_ const_reference;
74 point_const_iterator_(const_pointer p_value) : m_p_value(p_value)
79 point_const_iterator_() : m_p_value(0)
84 point_const_iterator_(
const point_const_iterator_& other)
85 : m_p_value(other.m_p_value)
90 point_const_iterator_(
const point_iterator_& other)
91 : m_p_value(other.m_p_value)
98 _GLIBCXX_DEBUG_ASSERT(m_p_value != 0);
106 _GLIBCXX_DEBUG_ASSERT(m_p_value != 0);
112 operator==(
const point_iterator_& other)
const
113 {
return m_p_value == other.m_p_value; }
117 operator==(
const point_const_iterator_& other)
const
118 {
return m_p_value == other.m_p_value; }
122 operator!=(
const point_iterator_& other)
const
123 {
return m_p_value != other.m_p_value; }
127 operator!=(
const point_const_iterator_& other)
const
128 {
return m_p_value != other.m_p_value; }
131 const_pointer m_p_value;
133 friend class point_iterator_;
135 friend class PB_DS_CLASS_C_DEC;
constexpr duration< __common_rep_t< _Rep2, _Rep1 >, _Period > operator*(const _Rep1 &__s, const duration< _Rep2, _Period > &__d)
void trivial_iterator_difference_type
Prohibit moving trivial iterators.