------- Comment #6 from paolo dot carlini at oracle dot com 2008-12-17 17:38 ------- The __swap_impl idea makes sense but note that user code can tell it from the "standard" one when something throws. All in all, given that C++0x will be Ok wrt these issues, I'm not sure we want to attempt something in C++03 mode. By the way, as far as our specific implementation of std::string is concerned, typically I would not expect a huge performance improvement, thanks to copy-on-write. Do you have some numbers?
-- paolo dot carlini at oracle dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |paolo at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38466