https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94033
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=94003 --- Comment #12 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #11) > #ifdef FIX > static_assert( !std::is_nothrow_default_constructible<mutation>::value ); > #endif Or slightly simpler, just instantiate the trait that's giving the wrong answer, which others depend on: #ifdef FIX static_assert( !std::is_constructible<mutation>::value ); #endif See also PR 94003. Anyway, I have a patch for the library traits to avoid the problem.