Re: [PATCH] libstdc++: Implement missing P0896 changes to reverse_view [PR100639]

2021-05-20 Thread Jonathan Wakely via Gcc-patches
On 18/05/21 15:52 -0400, Patrick Palka via Libstdc++ wrote: This implements the P0896 changes to reverse_view's member types value_type, difference_type and reference in C++20 mode, which fixes problems taking the reverse_iterator of an iterator with a non-integral difference_type (such as iota_v

Re: [PATCH] libstdc++: Implement missing P0896 changes to reverse_view [PR100639]

2021-05-18 Thread Patrick Palka via Gcc-patches
On Tue, 18 May 2021, Patrick Palka wrote: > This implements the P0896 changes to reverse_view's member types Whoops, s/reverse_view/reverse_iterator rather... consider this typo fixed throughout. > value_type, difference_type and reference in C++20 mode, which fixes > problems taking the reverse

[PATCH] libstdc++: Implement missing P0896 changes to reverse_view [PR100639]

2021-05-18 Thread Patrick Palka via Gcc-patches
This implements the P0896 changes to reverse_view's member types value_type, difference_type and reference in C++20 mode, which fixes problems taking the reverse_iterator of an iterator with a non-integral difference_type (such as iota_view). Tested on x86_64-pc-linux-gnu, does this look OK for tr