Topic: basic_string<>::traits_type::copy


Author: Ryszard Kabatek <rysio@rumcajs.chemie.uni-halle.de>
Date: 1999/07/06
Raw View
In the libstdc++-2.90.x project,
http://sourceware.cygnus.com/libstdc++/,
in the implementation of basic_string<> every call of the
traits_type::copy function is enclosed in a try block
(although basic_string<>::char_type is a POD type).

May (according to the standard) traits::copy throw an exception?
May traits::move throw?

--
Ryszard Kabatek
Martin-Luther University Halle-Wittenberg, Department of Physical
Chemistry
Geusaer Str. 88, 06217 Merseburg, Germany
Tel. +49 3461 46 2466 Fax. +49 3461 46 2129
---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]