// Reference-counted versatile string base -*- C++ -*-
-// Copyright (C) 2005, 2006, 2007, 2008 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
}
_Rep* __r = _Rep::_S_create(__len, size_type(0), __a);
_S_copy(__r->_M_refdata(), __buf, __len);
- try
+ __try
{
while (__beg != __end)
{
++__beg;
}
}
- catch(...)
+ __catch(...)
{
__r->_M_destroy(__a);
__throw_exception_again;
__end));
// Check for out_of_range and length_error exceptions.
_Rep* __r = _Rep::_S_create(__dnew, size_type(0), __a);
- try
+ __try
{ _S_copy_chars(__r->_M_refdata(), __beg, __end); }
- catch(...)
+ __catch(...)
{
__r->_M_destroy(__a);
__throw_exception_again;