mirror of git://gcc.gnu.org/git/gcc.git
Add missing noexcept in string_view::find_first_of declaration
2017-11-27 Stephan Bergmann <sbergman@redhat.com> * include/std/string_view (basic_string_view::find_first_of): Add missing noexcept. From-SVN: r255176
This commit is contained in:
parent
4c71819dda
commit
0f42ffd7f7
|
|
@ -1,5 +1,8 @@
|
||||||
2017-11-27 Stephan Bergmann <sbergman@redhat.com>
|
2017-11-27 Stephan Bergmann <sbergman@redhat.com>
|
||||||
|
|
||||||
|
* include/std/string_view (basic_string_view::find_first_of): Add
|
||||||
|
missing noexcept.
|
||||||
|
|
||||||
* include/bits/unordered_map.h (unordered_map): Fix deduction guide.
|
* include/bits/unordered_map.h (unordered_map): Fix deduction guide.
|
||||||
* include/debug/unordered_map (unordered_map): Likewise.
|
* include/debug/unordered_map (unordered_map): Likewise.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -323,7 +323,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||||
{ return this->find(__c, __pos); }
|
{ return this->find(__c, __pos); }
|
||||||
|
|
||||||
constexpr size_type
|
constexpr size_type
|
||||||
find_first_of(const _CharT* __str, size_type __pos, size_type __n) const;
|
find_first_of(const _CharT* __str, size_type __pos, size_type __n) const noexcept;
|
||||||
|
|
||||||
constexpr size_type
|
constexpr size_type
|
||||||
find_first_of(const _CharT* __str, size_type __pos = 0) const noexcept
|
find_first_of(const _CharT* __str, size_type __pos = 0) const noexcept
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue