On Wed, 17 Dec 2025 at 14:20, Jakub Jelinek <[email protected]> wrote:
>
> On Wed, Dec 17, 2025 at 02:15:59PM +0000, Jonathan Wakely wrote:
> > The COW std::string is not constexpr, so the <stdexcept> exception
> > classes can't be constexpr either when they're defined in terms of the
> > COW string.
> >
> > libstdc++-v3/ChangeLog:
> >
> >       * include/bits/version.def (constexpr_exceptions): Add
> >       cxx11abi=yes.
> >       * include/bits/version.h: Regenerate.
>
> LGTM, thanks.
> While constexpr exceptions for <typeinfo>/<new>/<exception> classes
> would work, __cpp_constexpr_exceptions >= 202411L covers even
> <stdexcept>, so when we can't support it fully, we shouldn't announce it.

Yes, I'll add that to the commit message.

Reply via email to