]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Implement LWG 3470 change to ranges::subrange
authorPatrick Palka <ppalka@redhat.com>
Tue, 19 Oct 2021 22:07:05 +0000 (18:07 -0400)
committerPatrick Palka <ppalka@redhat.com>
Tue, 19 Oct 2021 22:07:05 +0000 (18:07 -0400)
commit98af6b86bc6cac705474c14bb3f9748f6866c859
tree93604230e89ece70d0e4170b50e454a05f66e20f
parent861440a77b62756d200ae356c4fdfd9653902e77
libstdc++: Implement LWG 3470 change to ranges::subrange

libstdc++-v3/ChangeLog:

* include/bits/ranges_util.h
(__detail::__uses_nonqualification_pointer_conversion): Define
and use it ...
(__detail::__convertible_to_nonslicing): ... here, as per LWG 3470.
* testsuite/std/ranges/subrange/1.cc: New test.
libstdc++-v3/include/bits/ranges_util.h
libstdc++-v3/testsuite/std/ranges/subrange/1.cc [new file with mode: 0644]