[Bug libstdc++/38741] Unable to write data to wofstream

sebor at roguewave dot com gcc-bugzilla@gcc.gnu.org
Fri Jan 9 16:58:00 GMT 2009



------- Comment #12 from sebor at roguewave dot com  2009-01-09 16:57 -------
(In reply to comment #3)
> Created an attachment (id=17044)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17044&action=view) [edit]

As others have mentioned, the codecvt facet in your test case is broken.
The standard allows the codecvt::do_in() and do_out() members to return
noconv only when both intern_type and extern_type are the same type.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38741



More information about the Gcc-bugs mailing list