diff options
author | Patrick Palka <ppalka@redhat.com> | 2023-12-18 18:05:36 -0500 |
---|---|---|
committer | Patrick Palka <ppalka@redhat.com> | 2023-12-18 18:05:36 -0500 |
commit | 4f54e656788be3268dd45eb036447464a937fae9 (patch) | |
tree | 8ea834b5351077d9b2ce7acf99119244708c5749 /libphobos | |
parent | 989e67f827b74b76e58abe137ce12d948af2290c (diff) | |
download | gcc-4f54e656788be3268dd45eb036447464a937fae9.zip gcc-4f54e656788be3268dd45eb036447464a937fae9.tar.gz gcc-4f54e656788be3268dd45eb036447464a937fae9.tar.bz2 |
libstdc++: Make ranges::to closure objects SFINAE-friendly [PR112802]
This also happens to fix composition of these closure objects.
PR libstdc++/112802
PR libstdc++/113068
libstdc++-v3/ChangeLog:
* include/std/ranges (__detail::_To::operator()): Add constraints.
(__detail::_To2::operator()): Likewise.
* testsuite/std/ranges/conv/1.cc (test_sfinae): New test.
(test_composition): New test.
Diffstat (limited to 'libphobos')
0 files changed, 0 insertions, 0 deletions