libstdc++: Define new C++17 std::search overload for Parallel Mode [PR 94971]
authorJonathan Wakely <jwakely@redhat.com>
Wed, 4 Nov 2020 13:36:32 +0000 (13:36 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 4 Nov 2020 13:36:32 +0000 (13:36 +0000)
commite0af865ab9d9d5b6b3ac7fdde26cf9bbf635b6b4
tree213d7d0316af11d52963aa53c6d87f76bc738042
parent243492e2c69741b91dbfe3bba9b772f65fc9354c
libstdc++: Define new C++17 std::search overload for Parallel Mode [PR 94971]

libstdc++-v3/ChangeLog:

PR libstdc++/94971
* include/bits/stl_algo.h (search(FIter, FIter, const Searcher):
Adjust #if condition.
* include/parallel/algo.h (search(FIter, FIter, const Searcher&):
Define new overload for C++17.
libstdc++-v3/include/bits/stl_algo.h
libstdc++-v3/include/parallel/algo.h