41#ifdef PB_DS_CLASS_C_DEC 
   48assert_valid(
const char* __file, 
int __line)
 const 
   50#ifdef PB_DS_REGRESSION 
   51  s_entry_allocator.check_allocated(m_a_entries, m_actual_size);
 
   54  resize_policy::assert_valid(__file, __line);
 
   55  PB_DS_DEBUG_VERIFY(m_size <= m_actual_size);
 
   56  for (size_type i = 0; i < m_size; ++i)
 
   58#ifdef PB_DS_REGRESSION 
   59      s_value_allocator.check_allocated(m_a_entries[i], 1);
 
   62      if (left_child(i) < m_size)
 
   63        PB_DS_DEBUG_VERIFY(!entry_cmp::operator()(m_a_entries[i], m_a_entries[left_child(i)]));
 
   65      PB_DS_DEBUG_VERIFY(parent(left_child(i)) == i);
 
   67      if (right_child(i) < m_size)
 
   68        PB_DS_DEBUG_VERIFY(!entry_cmp::operator()(m_a_entries[i], m_a_entries[right_child(i)]));
 
   70      PB_DS_DEBUG_VERIFY(parent(right_child(i)) == i);