Re: [PATCH 1/2] libstdc++: add constexpr inplace_merge

2025-03-27 Thread Jonathan Wakely
On Sat, 15 Mar 2025 at 20:11, Giuseppe D'Angelo wrote: > > Hello, > > These two patches complete the implementation of P2562R1 for C++26 (the > paper is called "constexpr Stable Sorting", but these other permutation > algorithms are also included). > > You can also find them on Forgejo here: > > h

[PATCH 1/2] libstdc++: add constexpr inplace_merge

2025-03-15 Thread Giuseppe D'Angelo
00:00 2001 From: Giuseppe D'Angelo Date: Fri, 14 Mar 2025 15:47:10 +0100 Subject: [PATCH 1/2] libstdc++: add constexpr inplace_merge This commit adds support for constexpr inplace_merge, added by P2562R1 for C++26. The implementation strategy is the same as for constexpr stable_sort: use if consteva