basic_string.h: Use noexcept per the FDIS (minus compare(const string&)...
authorPaolo Carlini <paolo.carlini@oracle.com>
Tue, 31 May 2011 12:50:31 +0000 (12:50 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 31 May 2011 12:50:31 +0000 (12:50 +0000)
commitcea8c6deef9e4b39260a8c21091238c85eedc1eb
tree41026865ae3bf7df9b8b46f92059b682c8662da2
parent35979cc235b090b2607d17598f73e6b079142e23
basic_string.h: Use noexcept per the FDIS (minus compare(const string&)...

2011-05-31  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/basic_string.h: Use noexcept per the FDIS (minus
compare(const string&), which uses char_traits::compare, which
isn't noexcept; also no noexcept in the move assignment operator
and move assign, see c++std-lib-30855).
* include/bits/basic_string.tcc: Likewise.
* include/ext/vstring.h: Likewise.
* include/ext/vstring.tcc: Likewise.
* include/debug/string: Likewise.

From-SVN: r174479
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/basic_string.h
libstdc++-v3/include/bits/basic_string.tcc
libstdc++-v3/include/debug/string
libstdc++-v3/include/ext/vstring.h
libstdc++-v3/include/ext/vstring.tcc