https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84103
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org --- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> --- Note that if you make the constructor constexpr, GCC (as far back as 4.6) will do constant initialization of the variable.