This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[v3] More <regex> updates from latest WP


More changes to <regex> to conform to the latest C++0x draft, the
changes came from N3148 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.

Attachment: re-update.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]