https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115522
Jiang An <de34 at live dot cn> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |de34 at live dot cn --- Comment #7 from Jiang An <de34 at live dot cn> --- (In reply to Jonathan Wakely from comment #5) > 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 :-\ I guess we still need to check is_default_constructible_v even after __is_trivial gets fixed because the default construct may be protected or private...