On Wed, 5 Mar 2025 at 13:44, Giuseppe D'Angelo wrote:
>
> Hi,
>
> I'm attaching a very small cleanup for constexpr std::stable_sort, using
> `if consteval` instead of `__is_constant_evaluated` within a C++26 feature.
OK for trunk, thanks.
You can drop the Signed-off-by from the commit message now
o
Date: Wed, 5 Mar 2025 14:34:41 +0100
Subject: [PATCH] libstdc++: use if consteval in stable_sort
This is a C++ >= 26 codepath for supporting constexpr stable_sort, so we
know that we have if consteval available; it just needs protection with
the feature-testing macro. Also merge the return in