Re: [PATCH] libstdc++: Implement LWG 3564 for ranges::transform_view

2024-10-14 Thread Patrick Palka
On Mon, 14 Oct 2024, Jonathan Wakely wrote: > Tested x86_64-linux. > > -- >8 -- > > The _Iterator type returned by begin() const uses const F& to > transform the elements, so it should use const F& to determine the > iterator's value_type and iterator_category as well. > > This was accepted int

[PATCH] libstdc++: Implement LWG 3564 for ranges::transform_view

2024-10-13 Thread Jonathan Wakely
Tested x86_64-linux. -- >8 -- The _Iterator type returned by begin() const uses const F& to transform the elements, so it should use const F& to determine the iterator's value_type and iterator_category as well. This was accepted into the WP in July 2022. libstdc++-v3/ChangeLog: * incl