r256292 - in /branches/gcc-7-branch/libstdc++-v...
redi@gcc.gnu.org
redi@gcc.gnu.org
Fri Jan 5 22:22:00 GMT 2018
Author: redi
Date: Fri Jan 5 22:22:28 2018
New Revision: 256292
URL: https://gcc.gnu.org/viewcvs?rev=256292&root=gcc&view=rev
Log:
PR libstdc++/83600 fix end iterator for unready std::match_results
Backport from mainline
2017-12-27 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/83600
* include/bits/regex.h (match_results::end()): Return valid iterator
when not ready.
* testsuite/28_regex/match_results/ctors/char/default.cc: Check that
unready objects are empty and have equal begin and end iterators.
* testsuite/28_regex/match_results/ctors/wchar_t/default.cc: Likewise.
Modified:
branches/gcc-7-branch/libstdc++-v3/ChangeLog
branches/gcc-7-branch/libstdc++-v3/include/bits/regex.h
branches/gcc-7-branch/libstdc++-v3/testsuite/28_regex/match_results/ctors/char/default.cc
branches/gcc-7-branch/libstdc++-v3/testsuite/28_regex/match_results/ctors/wchar_t/default.cc
More information about the Libstdc++-cvs
mailing list