Re: [PATCH] libstdc++/ranges: Use C++23 deducing this for _Pipe and _Partial

2024-01-11 Thread Jonathan Wakely
On Thu, 11 Jan 2024 at 00:26, Patrick Palka wrote: > > Tested on x86_64-pc-linux-gnu, does this look OK for trunk? OK. Nice to see explicit object functions landing in the library so soon! > > -- >8 -- > > This simplifies the operator() of the _Pipe and _Partial range adaptor > closure objects

[PATCH] libstdc++/ranges: Use C++23 deducing this for _Pipe and _Partial

2024-01-10 Thread Patrick Palka
Tested on x86_64-pc-linux-gnu, does this look OK for trunk? -- >8 -- This simplifies the operator() of the _Pipe and _Partial range adaptor closure objects using C++23 deducing this, allowing us to condense multiple operator() overloads into one. The new __like_t alias template is similar to