On Thu, 17 Jun 2021, 16:47 Patrick Palka via Libstdc++, <
libstd...@gcc.gnu.org> wrote:

> The <ranges> header defines simplified copies of some ranges algorithms
> in order to avoid including the entirety of ranges_algo.h.  A subsequent
> patch is going to want to use ranges::search in <ranges> as well, but
> that algorithm is more complicated compared to the other copied ones.
>
> So rather than additionally copying ranges::search into <ranges>, this
> patch splits out all the ranges algos used by <ranges> (including
> ranges::search) from ranges_algo.h to ranges_util.h, and deletes the
> simplified copies in <ranges>.  This seems like the best place for
> these algorithms, as ranges_util.h is included only from <ranges> and
> ranges_algo.h.
>


OK, thanks.

Reply via email to