On Sat, 15 Mar 2025 at 20:11, Giuseppe D'Angelo <giuseppe.dang...@kdab.com> 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: > > https://forge.sourceware.org/gcc/gcc-TEST/pulls/44 > > with some additional comments/questions.
I agree that the 1-element buffer is fine for GCC 15. > This first patch adds support for constexpr inplace_merge, which is > relatively easy -- use if consteval to dispatch to a constexpr-friendly > implementation. OK for trunk, thanks.