https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92786
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- You still need a definition and not just a declaration even with constexpr. Though I think a newer C++ standard changed that; try -std=c++17 :)