libstdc++: Add noexcept to functions in <regex>
authorJonathan Wakely <jwakely@redhat.com>
Mon, 27 Sep 2021 19:42:17 +0000 (20:42 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Tue, 28 Sep 2021 19:38:57 +0000 (20:38 +0100)
commitdf0dd04b78cfc0f723387b703978600caac93cbb
tree323bdfa00f22cc2e015b59b7567020bc6a449e99
parentaeaea265cea3a2b2e772af7825351a4ceef29aac
libstdc++: Add noexcept to functions in <regex>

Signed-off-by: Jonathan Wakely <jwakely@redhat.com>
libstdc++-v3/ChangeLog:

* include/bits/regex.h (basic_regex, swap): Add noexcept to
non-throwing functions.
* include/bits/regex_automaton.h (_State_base, _State)
(_NFA_base): Likewise.
* include/bits/regex_compiler.h (_Compiler): Likewise.
* include/bits/regex_error.h (regex_error::code()): Likewise.
* include/bits/regex_scanner.h (_Scanner): Likewise.
libstdc++-v3/include/bits/regex.h
libstdc++-v3/include/bits/regex_automaton.h
libstdc++-v3/include/bits/regex_compiler.h
libstdc++-v3/include/bits/regex_error.h
libstdc++-v3/include/bits/regex_scanner.h