[PATCH] libstdc++: use if consteval in stable_sort

Jonathan Wakely jwakely@redhat.com
Wed Mar 5 15:06:52 GMT 2025


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 if you
like, because you added yourself to the DCO section of MAINTAINERS.
Listing yourself in that section means the DCO sign-off is implied for
every commit.



More information about the Libstdc++ mailing list