aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/ChangeLog
diff options
context:
space:
mode:
authorTim Shen <timshen@google.com>2014-12-13 22:19:18 +0000
committerTim Shen <timshen@gcc.gnu.org>2014-12-13 22:19:18 +0000
commitbc2738455bf4e405cf0ad3d61482b49cd4382113 (patch)
tree8fbd14b1bfca1e100c674f1a08fca314b98923e6 /libstdc++-v3/ChangeLog
parent6554581713da6cc9bb96cf86cf7a0cece80a448e (diff)
downloadgcc-bc2738455bf4e405cf0ad3d61482b49cd4382113.zip
gcc-bc2738455bf4e405cf0ad3d61482b49cd4382113.tar.gz
gcc-bc2738455bf4e405cf0ad3d61482b49cd4382113.tar.bz2
re PR libstdc++/64239 (regex_iterator::operator= should copy match_results::position)
PR libstdc++/64239 * include/bits/regex.h (match_results<>::match_results, match_results<>::operator=, match_results<>::position, match_results<>::swap): Remove match_results::_M_in_iterator. Fix ctor/assign/swap. * include/bits/regex.tcc: (__regex_algo_impl<>, regex_iterator<>::operator++): Set match_results::_M_begin as "start position". * testsuite/28_regex/iterators/regex_iterator/char/ string_position_01.cc: Test cases. From-SVN: r218710
Diffstat (limited to 'libstdc++-v3/ChangeLog')
-rw-r--r--libstdc++-v3/ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 0df6b3b..4e79925 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,16 @@
+2014-12-13 Tim Shen <timshen@google.com>
+
+ PR libstdc++/64239
+ * include/bits/regex.h (match_results<>::match_results,
+ match_results<>::operator=, match_results<>::position,
+ match_results<>::swap): Remove match_results::_M_in_iterator.
+ Fix ctor/assign/swap.
+ * include/bits/regex.tcc: (__regex_algo_impl<>,
+ regex_iterator<>::operator++): Set match_results::_M_begin as
+ "start position".
+ * testsuite/28_regex/iterators/regex_iterator/char/
+ string_position_01.cc: Test cases.
+
2014-12-13 Jonathan Wakely <jwakely@redhat.com>
* include/experimental/any (any): Remove allocator support and update