41#ifdef PB_DS_CLASS_C_DEC
48assert_valid(
const char* __file,
int __line)
const
50 if (m_a_values == 0 || m_end_it == 0 || m_size == 0)
51 PB_DS_DEBUG_VERIFY(m_a_values == 0 && m_end_it == 0 && m_size == 0);
53 assert_iterators(__file, __line);
59assert_iterators(
const char* __file,
int __line)
const
61 debug_base::check_size(m_size, __file, __line);
62 size_type iterated_num = 0;
63 const_iterator prev_it =
end();
64 PB_DS_DEBUG_VERIFY(m_end_it == m_a_values + m_size);
65 for (const_iterator it =
begin(); it !=
end(); ++it)
68 debug_base::check_key_exists(PB_DS_V2F(*it), __file, __line);
69 PB_DS_DEBUG_VERIFY(lower_bound(PB_DS_V2F(*it)) == it);
70 const_iterator upper_bound_it = upper_bound(PB_DS_V2F(*it));
72 PB_DS_DEBUG_VERIFY(upper_bound_it == it);
74 PB_DS_DEBUG_VERIFY(Cmp_Fn::operator()(PB_DS_V2F(*prev_it),
78 PB_DS_DEBUG_VERIFY(iterated_num == m_size);
_Tp * end(valarray< _Tp > &__va) noexcept
Return an iterator pointing to one past the last element of the valarray.
_Tp * begin(valarray< _Tp > &__va) noexcept
Return an iterator pointing to the first element of the valarray.