+2005-08-25 Paolo Carlini <pcarlini@suse.de>
+
+ * include/tr1/hashtable: Use __throw_exception_again,
+ not naked throw, in the catch clauses.
+
2005-08-24 Lawrence Lim <llim@redhat.com>
Jakub Jelinek <jakub@redhat.com>
Benjamin Kosnik <bkoz@redhat.com>
#include <cstddef>
#include <cstdlib>
#include <cmath>
+#include <bits/functexcept.h>
#include <tr1/type_traits> // For true_type and false_type
//----------------------------------------------------------------------
catch(...)
{
m_node_allocator.deallocate(n, 1);
- throw;
+ __throw_exception_again;
}
}
{
clear();
m_deallocate_buckets(m_buckets, m_bucket_count);
- throw;
+ __throw_exception_again;
}
}
{
clear();
m_deallocate_buckets (m_buckets, m_bucket_count);
- throw;
+ __throw_exception_again;
}
}
catch (...)
{
m_deallocate_node (new_node);
- throw;
+ __throw_exception_again;
}
}
m_deallocate_buckets(new_array, N);
m_deallocate_nodes(m_buckets, m_bucket_count);
m_element_count = 0;
- throw;
+ __throw_exception_again;
}
}