diff options
| author | Patrick Palka <ppalka@redhat.com> | 2021-04-30 18:45:46 -0400 |
|---|---|---|
| committer | Patrick Palka <ppalka@redhat.com> | 2021-04-30 18:45:46 -0400 |
| commit | 237dde3d03c573eb13c0e765520ee4b713aa2c7e (patch) | |
| tree | e941c9283504e5b8d717ef25fed3b318f4b705b8 /gcc/cppbuiltin.c | |
| parent | 3215d4f5b3d08e0087a88df9e155c779927ace1a (diff) | |
| download | gcc-237dde3d03c573eb13c0e765520ee4b713aa2c7e.zip gcc-237dde3d03c573eb13c0e765520ee4b713aa2c7e.tar.gz gcc-237dde3d03c573eb13c0e765520ee4b713aa2c7e.tar.bz2 | |
libstdc++: Implement P2328 changes to join_view
This implements the wording changes of P2328R0 "join_view should join
all views of ranges".
libstdc++-v3/ChangeLog:
* include/std/ranges (__detail::__non_propating_cache): Define
as per P2328.
(join_view): Remove constraints on the value and reference types
of the wrapped iterator type as per P2328.
(join_view::_Iterator::_M_satisfy): Adjust as per P2328.
(join_view::_Iterator::operator++): Likewise.
(join_view::_M_inner): Use __non_propating_cache as per P2328.
Remove now-redundant use of __maybe_present_t.
* testsuite/std/ranges/adaptors/join.cc: Include <array>.
(test10): New test.
Diffstat (limited to 'gcc/cppbuiltin.c')
0 files changed, 0 insertions, 0 deletions
