]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR libstdc++/58338 (Add noexcept to functions with a narrow contract)
authorMarc Glisse <marc.glisse@inria.fr>
Tue, 24 Sep 2013 10:07:32 +0000 (12:07 +0200)
committerMarc Glisse <glisse@gcc.gnu.org>
Tue, 24 Sep 2013 10:07:32 +0000 (10:07 +0000)
commit63ebd8f1296c869323030e690d8a08f7420473e4
treeb4a6a285c27e4bcedd14b41127426172ff244e2a
parentfae205619dc764c52155676b5fe251be579eb699
re PR libstdc++/58338 (Add noexcept to functions with a narrow contract)

2013-09-24  Marc Glisse  <marc.glisse@inria.fr>

PR libstdc++/58338
PR libstdc++/56166
* include/bits/basic_string.h (basic_string)
[basic_string(basic_string&&)]: Make the noexcept conditional.
[operator=(basic_string&&), assign(basic_string&&)]: Link to PR 58265.
[begin(), end(), rbegin(), rend(), clear]: Remove noexcept.
[pop_back]: Comment on the lack of noexcept.
* include/debug/string (basic_string) [basic_string(const _Allocator&),
basic_string(basic_string&&), begin(), end(), rbegin(), rend(), clear,
operator[](size_type), pop_back]: Comment out noexcept, until vstring
replaces basic_string.

From-SVN: r202861
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/basic_string.h
libstdc++-v3/include/debug/string