https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115522
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=85723 --- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- Ah, it looks like is_trivial is just wrong for types with a deleted default constructor, that's PR 85723 The std::to_array code _should_ work correctly for this case :-\