libstdc++: Fold some ranges algo subroutines into their only caller
authorPatrick Palka <ppalka@redhat.com>
Thu, 13 Feb 2020 15:55:10 +0000 (10:55 -0500)
committerPatrick Palka <ppalka@redhat.com>
Sat, 15 Feb 2020 15:55:25 +0000 (10:55 -0500)
commit90b7eb6539b6cb23ddb63521a38cef8c42b55f9a
tree604735ba46124a0e59f6ad83b334c6da1df458b6
parentacff02ef1f4bc951ab7b4e3fdc117e0646d5d8f5
libstdc++: Fold some ranges algo subroutines into their only caller

These subroutines have only a single call site, so it might be best and simplest
to eliminate them before we convert the algos into function objects.

libstdc++-v3/ChangeLog:

* include/bits/ranges_algo.h (ranges::__find_end): Fold into ...
(ranges::find_end): ... here.
(ranges::__lexicographical_compare): Fold into ...
(ranges::lexicographical_compare): ... here.
* include/bits/ranges_algobase.h (ranges::__equal): Fold into ...
(ranges::equal): ... here.
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/ranges_algo.h
libstdc++-v3/include/bits/ranges_algobase.h