https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68133
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- If you want that function to be constexpr you need to provide a custom traits class.