]> gcc.gnu.org Git - gcc.git/commit
libstdc++: Move some ranges algos to a new header <bits/ranges_algobase.h>
authorPatrick Palka <ppalka@redhat.com>
Wed, 12 Feb 2020 17:30:57 +0000 (12:30 -0500)
committerPatrick Palka <ppalka@redhat.com>
Thu, 13 Feb 2020 20:20:49 +0000 (15:20 -0500)
commit90fc7b3ce0ee24c08b1edd40c528467939ef9d4f
treeeeaaaa33f70aef896b04d90a131b529b706fd97d
parentbacdd5e978dad84e9c547b0d5c7fed14b8d75157
libstdc++: Move some ranges algos to a new header <bits/ranges_algobase.h>

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.
libstdc++-v3/ChangeLog
libstdc++-v3/include/Makefile.am
libstdc++-v3/include/Makefile.in
libstdc++-v3/include/bits/ranges_algo.h
libstdc++-v3/include/bits/ranges_algobase.h [new file with mode: 0644]
This page took 0.061905 seconds and 6 git commands to generate.