diff options
author | Jonathan Wakely <redi@gcc.gnu.org> | 2017-09-19 18:06:12 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2017-09-19 18:06:12 +0100 |
commit | 23b49089a4f20c24535c964d1b0eba0995dff6c8 (patch) | |
tree | 510adcafc26cbaa2b9ba3b3c9cabfd685f0dc193 /gcc/fortran/f95-lang.c | |
parent | 9f0b8c7b4b4fc8c2f042f8dc3443a5bd2ef14b2d (diff) | |
download | gcc-23b49089a4f20c24535c964d1b0eba0995dff6c8.zip gcc-23b49089a4f20c24535c964d1b0eba0995dff6c8.tar.gz gcc-23b49089a4f20c24535c964d1b0eba0995dff6c8.tar.bz2 |
PR libstdc++/71500 restore C++11 compatibility in <regex>
PR libstdc++/71500
* include/bits/regex_executor.tcc
(_Backref_matcher<BidIt, regex_traits<C>>::_M_apply): Use
std::__equal4 instead of C++14 4-iterator overloads of std::equal.
* include/bits/stl_algobase.h (__equal4): New functions implementing
4-iterator overloads of std::equal for use in C++11.
(equal(It1, It1, It2, It2), equal(It1, It1, It2, It2, BinaryPred)):
Move function bodies to new __equal4 functions.
* testsuite/28_regex/simple_c++11.cc: New.
From-SVN: r252981
Diffstat (limited to 'gcc/fortran/f95-lang.c')
0 files changed, 0 insertions, 0 deletions