https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120390
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch --- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> --- With https://gcc.gnu.org/pipermail/gcc-patches/2025-June/686306.html the static_assert failure is replaced with: /home/jwakely/gcc/16/include/c++/16.0.0/bits/stl_construct.h:166:22: error: 'MovieData::~MovieData()' is private within this context 166 | __pointer->~_Tp(); | ~~~~~~~~~~~~~~~^~ dest.cc:5:5: note: declared private here 5 | ~MovieData(){} | ^