]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/ChangeLog
re PR libstdc++/64302 (The match_results::cbegin()/cend() return incorrect results)
[thirdparty/gcc.git] / libstdc++-v3 / ChangeLog
index 9ee1b8c42fa1c36cabeae3f92f447beed78869b6..2405bb55908dd50bf8b9e0f4048221f3d621abb7 100644 (file)
@@ -1,3 +1,14 @@
+2014-12-17  Tim Shen  <timshen@google.com>
+
+       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.
+
 2014-12-16  Jakub Jelinek  <jakub@redhat.com>
 
        * config/abi/pre/gnu.ver (CXXABI_1.3.9): Export not just