[v3] More <regex> updates from latest WP

Jonathan Wakely jwakely.gcc@gmail.com
Thu Feb 17 02:44:00 GMT 2011


On 17 February 2011 02:39, Jonathan Wakely wrote:
> More changes to <regex> to conform to the latest C++0x draft, the
> changes came from N3148

Oops, that should be N3149

> and DR 1181.  This also implements the open
> LWG issues 2001 and 2029, which I think are uncontroversial and we
> should do for QOI reasons anyway.
>
> 2011-02-17  Jonathan Wakely  <jwakely.gcc@gmail.com>
>
>        * include/bits/regex.h (basic_regex::traits_type): Add typedef.
>        (basic_regex::basic_regex(basic_regex&&)): Add noexcept.
>        (basic_regex::operator=(basic_regex&&)): Likewise.
>        (basic_regex::assign(basic_regex&&)): Likewise.
>        (operator==(sub_match,...)): Implement DR 1181.
>        (match_results::match_results(match_results&&)): Define.
>        (match_results::operator=(const match_results&)): Fix parameter type.
>        (match_results::operator=(match_results&&)): Define.
>
> tested x86_64-linux, committed to trunk.
>



More information about the Libstdc++ mailing list