[Bug libstdc++/69092] [4.9/5/6 Regression] basic_string constructor and throwing iterators
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 12 17:03:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69092
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Tue Jan 12 17:02:15 2016
New Revision: 232282
URL: https://gcc.gnu.org/viewcvs?rev=232282&root=gcc&view=rev
Log:
Remove noexcept from function template that can throw
PR libstdc++/69092
* include/bits/basic_string.h (basic_string::_S_copy_chars<_Iterator>):
Remove _GLIBCXX_NOEXCEPT.
testsuite/21_strings/basic_string/cons/char/69092.cc: New.
Added:
branches/gcc-5-branch/libstdc++-v3/testsuite/21_strings/basic_string/cons/char/69092.cc
Modified:
branches/gcc-5-branch/libstdc++-v3/ChangeLog
branches/gcc-5-branch/libstdc++-v3/include/bits/basic_string.h
More information about the Gcc-bugs
mailing list