https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64303

--- Comment #1 from Tim Shen <timshen at gcc dot gnu.org> ---
Author: timshen
Date: Wed Dec 17 09:25:44 2014
New Revision: 218810

URL: https://gcc.gnu.org/viewcvs?rev=218810&root=gcc&view=rev
Log:
    PR libstdc++/64302
    PR libstdc++/64303
    * include/bits/regex.h (match_results::cbegin, match_results::cend,
    regex_token_iterator::regex_token_iterator,
    regex_token_iterator::_M_normalize_result): Fix match_results cbegin
    and cend and regex_token_iterator::_M_result invariant.
    * include/bits/regex.tcc: Fix regex_token_iterator::_M_result invariant.
    * testsuite/28_regex/iterators/regex_token_iterator/64303.cc: Testcase.

Added:
   
trunk/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/64303.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/regex.h
    trunk/libstdc++-v3/include/bits/regex.tcc

Reply via email to