PR libstdc++/71500 restore C++11 compatibility in <regex>
commitb22b73213fbd93325461cb90516831eee0547923
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Sep 2017 17:06:12 +0000 (19 17:06 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Sep 2017 17:06:12 +0000 (19 17:06 +0000)
tree510adcafc26cbaa2b9ba3b3c9cabfd685f0dc193
parent103be9bf67494b2c7ceda8c79d399943986757c0
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@252981 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/regex_executor.tcc
libstdc++-v3/include/bits/stl_algobase.h
libstdc++-v3/testsuite/28_regex/simple_c++11.cc [new file with mode: 0644]