RE: [PATCH] libstdc++: Make PSTL algorithms accept C++20 iterators [PR110512]

2024-01-26 Thread Dvorskiy, Mikhail
nal Message- From: Jonathan Wakely Sent: Saturday, January 13, 2024 12:20 PM To: Pilar Latiesa Cc: libstd...@gcc.gnu.org; gcc-patches@gcc.gnu.org Subject: Re: [PATCH] libstdc++: Make PSTL algorithms accept C++20 iterators [PR110512] On Sat, 13 Jan 2024 at 09:36, Pilar Latiesa wrote: >

Re: [PATCH] libstdc++: Make PSTL algorithms accept C++20 iterators [PR110512]

2024-01-13 Thread Jonathan Wakely
On Sat, 13 Jan 2024 at 09:36, Pilar Latiesa wrote: > > Hi Jonathan > > Thanks so much for implementing this. > > There are a couple of typos in the patch description: > 's/C==17RandomAccessIterator/Cpp17RandomAccessIterator/' and > 's/__or_/__and_/'. Thanks for the comments, I'll fix those. >

Re: [PATCH] libstdc++: Make PSTL algorithms accept C++20 iterators [PR110512]

2024-01-13 Thread Pilar Latiesa
Hi Jonathan Thanks so much for implementing this. There are a couple of typos in the patch description: 's/C==17RandomAccessIterator/Cpp17RandomAccessIterator/' and 's/__or_/__and_/'. I've applied your patch localy and it works fine for all my use cases, which admitedly simply consist of using

Re: [PATCH] libstdc++: Make PSTL algorithms accept C++20 iterators [PR110512]

2024-01-12 Thread Jonathan Wakely
On Fri, 12 Jan 2024 at 18:11, Patrick Palka wrote: > > On Thu, 11 Jan 2024, Jonathan Wakely wrote: > > > Tested x86_64-linux and aarch64-linux, with TBB 2020.3 only. > > > > Reviews requested. > > > > -- >8 -- > > > > This is a step towards implementing the C++23 change P2408R5, "Ranges > >

Re: [PATCH] libstdc++: Make PSTL algorithms accept C++20 iterators [PR110512]

2024-01-12 Thread Patrick Palka
On Thu, 11 Jan 2024, Jonathan Wakely wrote: > Tested x86_64-linux and aarch64-linux, with TBB 2020.3 only. > > Reviews requested. > > -- >8 -- > > This is a step towards implementing the C++23 change P2408R5, "Ranges > iterators as inputs to non-Ranges algorithms". C++20 random access >

[PATCH] libstdc++: Make PSTL algorithms accept C++20 iterators [PR110512]

2024-01-11 Thread Jonathan Wakely
Tested x86_64-linux and aarch64-linux, with TBB 2020.3 only. Reviews requested. -- >8 -- This is a step towards implementing the C++23 change P2408R5, "Ranges iterators as inputs to non-Ranges algorithms". C++20 random access iterators which do not meet the C==17RandomAccessIterator