diff options
author | Patrick Palka <ppalka@redhat.com> | 2023-12-07 16:36:23 -0500 |
---|---|---|
committer | Patrick Palka <ppalka@redhat.com> | 2023-12-07 16:36:23 -0500 |
commit | 0832cf42a6912f876086cb14b92f788d8406f393 (patch) | |
tree | b867bccec2c91e87c3fae91b9cd60d38cd2d6792 /libgcc | |
parent | cab0083dc72dfd22a1b2016b068f9313beb7f091 (diff) | |
download | gcc-0832cf42a6912f876086cb14b92f788d8406f393.zip gcc-0832cf42a6912f876086cb14b92f788d8406f393.tar.gz gcc-0832cf42a6912f876086cb14b92f788d8406f393.tar.bz2 |
libstdc++: Simplify ranges::to closure objects
We can use the existing _Partial range adaptor closure object for
ranges::to instead of essentially reimplementing it.
libstdc++-v3/ChangeLog:
* include/std/ranges (__detail::_ToClosure): Replace with ...
(__detail::_To): ... this.
(__detail::_ToClosure2): Replace with ...
(__detail::To2): ... this.
(to): Simplify using the existing _Partial range adaptor
closure object.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions