[PATCH 1/2] libstdc++: Move some ranges algos to a new header <bits/ranges_algobase.h>

Jonathan Wakely jwakely@redhat.com
Thu Feb 13 12:20:00 GMT 2020


On 12/02/20 15:41 -0500, Patrick Palka wrote:
>This roughly mirrors the existing split between <bits/stl_algo.h> and
><bits/stl_algobase.h>.  The ranges [specialized.algorithms] will use this new
>header to avoid including all of of <bits/ranges_algo.h>.
>
>libstdc++-v3/ChangeLog:
>
>	* include/Makefile.am: Add bits/ranges_algobase.h
>	* include/Makefile.in: Regenerate.
>	* bits/ranges_algo.h: Include <bits/ranges_algobase.h> and refactor
>	existing #includes.
>	(__detail::__is_normal_iterator, __detail::is_reverse_iterator,
>	__detail::__is_move_iterator, copy_result, move_result,
>	__equal, equal, copy_result, move_result, move_backward_result,
>	copy_backward_result, __copy_or_move_backward, __copy_or_move, copy,
>	move, copy_backward, move_backward, copy_n_result, copy_n, fill_n,
>	fill): Split out into ...
>	* bits/range_algobase.h: ... this new header.

OK for master.



More information about the Libstdc++ mailing list