// -*- C++ -*-
-// Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+// Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the terms
#include <list>
#include <utility>
+#include <cstdlib>
#include <ext/throw_allocator.h>
#include <debug/debug.h>
if (find(r_key) != m_key_set.end())
{
std::cerr << "insert_new " << r_key << std::endl;
- abort();
+ std::abort();
}
try
catch(...)
{
std::cerr << "insert_new 1" << r_key << std::endl;
- abort();
+ std::abort();
}
alloc.set_throw_prob(orig_throw_prob);
_GLIBCXX_DEBUG_ONLY(assert_valid();)
if (it == m_key_set.end())
{
std::cerr << "erase_existing " << r_key << std::endl;
- abort();
+ std::abort();
}
m_key_set.erase(it);
_GLIBCXX_DEBUG_ONLY(assert_valid();)
if (find(r_key) == m_key_set.end())
{
std::cerr << "check_key_exists " << r_key << std::endl;
- abort();
+ std::abort();
}
_GLIBCXX_DEBUG_ONLY(assert_valid();)
}
if (find(r_key) != m_key_set.end())
{
std::cerr << "check_key_does_not_exist " << r_key << std::endl;
- abort();
+ std::abort();
}
}
{
std::cerr << "check_size " << size
<< " " << key_set_size << std::endl;
- abort();
+ std::abort();
}
_GLIBCXX_DEBUG_ONLY(assert_valid();)
}