https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78156
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- This is not a bug in GCC, and I'm not in favour of complicating things to work around this limitation. As Daniel said, there is a proposal to make std::char_traits<char> do the right thing.