Re: [PATCH] libstdc++: add support for constexpr stable_sort (P2562R1)

2025-02-25 Thread Jonathan Wakely
On Wed, 8 Jan 2025 at 10:49, Giuseppe D'Angelo wrote: > > Hello, > > This patch adds constexpr to the stable_sort algorithms, implementing > P2562R1 for C++26. Tested on x86-64 Linux. This one looks good too, so I'll also push this. Thanks!

[PATCH] libstdc++: add support for constexpr stable_sort (P2562R1)

2025-01-08 Thread Giuseppe D'Angelo
00 Subject: [PATCH] libstdc++: add support for constexpr stable_sort (P2562R1) stable_sort has been made constexpr in C++26. Apart from plastering a few functions with constexpr, there's an implementation challenge, that is: stable_sort takes different codepaths in case extra memory can be al