Add noexcept to various basic_string string operations
authorJonathan Wakely <jwakely@redhat.com>
Tue, 6 Dec 2016 10:43:42 +0000 (10:43 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 6 Dec 2016 10:43:42 +0000 (10:43 +0000)
commit39a0325104227d48df4d49dcb47f38b44e8da732
tree2f390f5c8e969c8a48c7682b327f22d7565067f0
parent3703d0958bac9f21b75d91bc1e87c922d86434a3
Add noexcept to various basic_string string operations

* include/bits/basic_string.h (basic_string::find, basic_string::rfind)
(basic_string::find_first_of, basic_string::find_last_of)
(basic_string::find_first_not_of, basic_string::find_last_not_of):
Make all overloads noexcept.
(basic_string::compare(const _CharT*)): Make noexcept.

From-SVN: r243290
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/basic_string.h
libstdc++-v3/include/bits/basic_string.tcc