http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49269
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-06-26 22:30:15 UTC --- Granted, the Standard leaves quite a bit of room for implementation defined behavior in this area, but for sure this codecvt is not going to work with our implementation for what you want (and never did). First, do_always_noconv returns true, thus you are already screwed, because this implies that all the other codecvt members will not be used at all. Even if you fix that, do_in still needs work, because, still according to the standard, if it returns noconv, it means _To and _E are the same type, something certainly not true here.