[Bug libstdc++/21772] exception safety testing
paolo dot carlini at oracle dot com
gcc-bugzilla@gcc.gnu.org
Thu Dec 17 09:58:00 GMT 2009
------- Comment #16 from paolo dot carlini at oracle dot com 2009-12-17 09:58 -------
The std::array error seems indeed bogus: if I'm not wrong, it happens when
swapping arrays, and there are no guarantees that the operation doesn't throw
for std::array, because it's requires to just swap the ranges, thus copy
construct and copy assign each array element.
Another thing I noticed, about basic_string, something seems inappropriate for
it in the framework, since the value_type must be a POD!
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21772
More information about the Gcc-bugs
mailing list