42 inline typename PB_DS_CLASS_C_DEC::node_const_iterator
45 {
return PB_DS_node_begin_imp(); }
48 inline typename PB_DS_CLASS_C_DEC::node_const_iterator
51 {
return PB_DS_node_end_imp(); }
54 inline typename PB_DS_CLASS_C_DEC::node_iterator
57 {
return PB_DS_node_begin_imp(); }
60 inline typename PB_DS_CLASS_C_DEC::node_iterator
63 {
return PB_DS_node_end_imp(); }
66 inline typename PB_DS_CLASS_C_DEC::node_const_iterator
68 PB_DS_node_begin_imp()
const
70 return node_const_iterator(const_cast<pointer>(mid_pointer(
begin(),
end())),
71 const_cast<pointer>(
begin()),
72 const_cast<pointer>(
end()),(m_a_metadata == 0)?
74 mid_pointer(m_a_metadata, m_a_metadata + m_size));
78 inline typename PB_DS_CLASS_C_DEC::node_const_iterator
80 PB_DS_node_end_imp()
const
82 return node_const_iterator(
end(),
end(),
end(),
83 (m_a_metadata == 0) ? 0 : m_a_metadata + m_size);
87 inline typename PB_DS_CLASS_C_DEC::node_iterator
89 PB_DS_node_begin_imp()
92 (m_a_metadata == 0) ? 0 : mid_pointer(m_a_metadata, m_a_metadata + m_size));
96 inline typename PB_DS_CLASS_C_DEC::node_iterator
100 return node_iterator(
end(),
end(),
101 end(),(m_a_metadata == 0) ? 0 : m_a_metadata + m_size);
auto end(_Container &__cont) -> decltype(__cont.end())
Return an iterator pointing to one past the last element of the container.
auto begin(_Container &__cont) -> decltype(__cont.begin())
Return an iterator pointing to the first element of the container.