46 assert_valid(
const char* __file,
int __line)
const 48 if (m_a_values == 0 || m_end_it == 0 || m_size == 0)
49 PB_DS_DEBUG_VERIFY(m_a_values == 0 && m_end_it == 0 && m_size == 0);
51 assert_iterators(__file, __line);
57 assert_iterators(
const char* __file,
int __line)
const 59 debug_base::check_size(m_size, __file, __line);
60 size_type iterated_num = 0;
61 const_iterator prev_it =
end();
62 PB_DS_DEBUG_VERIFY(m_end_it == m_a_values + m_size);
63 for (const_iterator it =
begin(); it !=
end(); ++it)
66 debug_base::check_key_exists(PB_DS_V2F(*it), __file, __line);
67 PB_DS_DEBUG_VERIFY(lower_bound(PB_DS_V2F(*it)) == it);
68 const_iterator upper_bound_it = upper_bound(PB_DS_V2F(*it));
70 PB_DS_DEBUG_VERIFY(upper_bound_it == it);
72 PB_DS_DEBUG_VERIFY(Cmp_Fn::operator()(PB_DS_V2F(*prev_it),
76 PB_DS_DEBUG_VERIFY(iterated_num == m_size);
constexpr const _Tp * end(initializer_list< _Tp > __ils) noexcept
Return an iterator pointing to one past the last element of the initializer_list.
constexpr const _Tp * begin(initializer_list< _Tp > __ils) noexcept
Return an iterator pointing to the first element of the initializer_list.