45#ifdef PB_DS_CLASS_C_DEC
48:
public const_iterator_
55 typedef typename _Alloc::difference_type difference_type;
58 typedef value_type_ value_type;
61 typedef pointer_ pointer;
64 typedef const_pointer_ const_pointer;
67 typedef reference_ reference;
70 typedef const_reference_ const_reference;
75 : const_iterator_(0, PB_DS_GEN_POS(), 0) { }
79 operator point_iterator_()
80 {
return point_iterator_(
const_cast<pointer
>(const_iterator_::m_p_value)); }
84 operator const point_iterator_()
const
85 {
return point_iterator_(
const_cast<pointer
>(const_iterator_::m_p_value)); }
91 _GLIBCXX_DEBUG_ASSERT(base_type::m_p_value != 0);
92 return (
const_cast<pointer
>(base_type::m_p_value));
99 _GLIBCXX_DEBUG_ASSERT(base_type::m_p_value != 0);
100 return (
const_cast<reference
>(*base_type::m_p_value));
107 base_type::m_p_tbl->inc_it_state(base_type::m_p_value, base_type::m_pos);
115 iterator_ ret =*
this;
116 base_type::m_p_tbl->inc_it_state(base_type::m_p_value, base_type::m_pos);
121 typedef const_iterator_ base_type;
129 iterator_(pointer p_value, PB_DS_GEN_POS pos, PB_DS_CLASS_C_DEC* p_tbl)
130 : const_iterator_(p_value, pos, p_tbl)
133 friend class PB_DS_CLASS_C_DEC;
constexpr duration< __common_rep_t< _Rep2, _Rep1 >, _Period > operator*(const _Rep1 &__s, const duration< _Rep2, _Period > &__d)
Forward iterators support a superset of input iterator operations.