On Wed, 31 May 2023 at 18:39, François Dumont via Libstdc++ < libstdc++@gcc.gnu.org> wrote: > libstdc++: Reduce inclusion to > > > Move the std::search definition from stl_algo.h to stl_algobase.h and use > the later in . > > For consistency also move std::__parallel::search and associated helpers > from > to so that > std::__parallel::search > is accessible along with std::search. > > libstdc++-v3/ChangeLog: > > * include/bits/stl_algo.h > (std::__search, std::search(_FwdIt1, _FwdIt1, _FwdIt2, > _FwdIt2, _BinPred)): Move... > * include/bits/stl_algobase.h: ...here. > * include/std/functional: Replace include by > . > * include/parallel/algo.h (std::__parallel::search<_FIt1, > _FIt2, _BinaryPred>) > (std::__parallel::__search_switch<_FIt1, _FIt2, > _BinaryPred, _ItTag1, _ItTag2>): > Move... > * include/parallel/algobase.h: ...here. > * include/std/functional: Remove and > > includes. Include . > > Tested under Linux x86_64. > > Ok to commit ? > OK