https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118105
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Last reconfirmed| |2024-12-18 --- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #0) > Anyway, we should at least do the typeid check that the standard requires, We can't, because libstdc++ has the wrong collate facets in std::locale, see Bug 118110. > so that we know whether collate::transform can be used. But for now we can just check for std::collate<char_type> instead, which has the same effect. I've just posted a patch which adjusts transform_primary: https://gcc.gnu.org/pipermail/gcc-patches/2024-December/671963.html