// -*- C++ -*-
-// Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+// Copyright (C) 2005, 2006, 2007, 2008, 2009 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
m_size = other.m_size;
_GLIBCXX_DEBUG_ONLY(other.structure_only_assert_valid();)
- try
+ __try
{
m_p_head->m_p_parent = recursive_copy_node(other.m_p_head->m_p_parent);
if (m_p_head->m_p_parent != NULL)
m_size = other.m_size;
initialize_min_max();
}
- catch(...)
+ __catch(...)
{
_GLIBCXX_DEBUG_ONLY(debug_base::clear();)
s_node_allocator.deallocate(m_p_head, 1);
return (NULL);
node_pointer p_ret = s_node_allocator.allocate(1);
- try
+ __try
{
new (p_ret) node(*p_nd);
}
- catch(...)
+ __catch(...)
{
s_node_allocator.deallocate(p_ret, 1);
__throw_exception_again;
p_ret->m_p_left = p_ret->m_p_right = NULL;
- try
+ __try
{
p_ret->m_p_left = recursive_copy_node(p_nd->m_p_left);
p_ret->m_p_right = recursive_copy_node(p_nd->m_p_right);
}
- catch(...)
+ __catch(...)
{
clear_imp(p_ret);
__throw_exception_again;