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

Giuseppe D'Angelo giuseppe.dangelo@kdab.com
Wed Mar 5 13:41:16 GMT 2025


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.

Thanks,
-- 
Giuseppe D'Angelo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libstdc-use-if-consteval-in-stable_sort.patch
Type: text/x-patch
Size: 1495 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20250305/e476ce9d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4244 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20250305/e476ce9d/attachment.p7s>


More information about the Libstdc++ mailing list