Default special members of regex types and add noexcept
commitfba6502aafd7f542402b8ee848ecd0c611da4d0d
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Jun 2018 08:56:45 +0000 (7 08:56 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Jun 2018 08:56:45 +0000 (7 08:56 +0000)
treecec312a2c83b237c3039272e593f73ccaadf2038
parentccf8d652a7aea15b35ec743efc60b77d35a6a8ae
Default special members of regex types and add noexcept

* include/bits/regex.h (sub_match): Add noexcept to default
constructor and length observer.
(match_results): Add noexcept to default constructor and observers
with no preconditions. Define destructor as defaulted.
(operator==, operator!=, swap): Add noexcept.
(regex_iterator): Add default member initializers and define default
constructor and destructor as defaulted. Add noexcept to equality
and dereference operators.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@261266 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/regex.h