Re: [PATCH] Default special members of regex types and add noexcept

2018-06-26 Thread Jonathan Wakely
On 26/06/18 09:19 +0200, Stephan Bergmann wrote: On 08/06/18 13:01, Jonathan Wakely wrote: Nothing very exciting, just adding noexcept and defaulting some members. * include/bits/regex.h (sub_match): Add noexcept to default constructor and length observer. (match_results): Add

Re: [PATCH] Default special members of regex types and add noexcept

2018-06-26 Thread Stephan Bergmann
On 08/06/18 13:01, Jonathan Wakely wrote: Nothing very exciting, just adding noexcept and defaulting some members. * include/bits/regex.h (sub_match): Add noexcept to default constructor and length observer. (match_results): Add noexcept to default constructor and observers

[PATCH] Default special members of regex types and add noexcept

2018-06-08 Thread Jonathan Wakely
Nothing very exciting, just adding noexcept and defaulting some members. * 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

[PATCH] Default special members of regex types and add noexcept

2018-06-07 Thread Jonathan Wakely
* 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