[Bug libstdc++/12868] basic_filebuf::imbue fails too easily

bkoz at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Nov 4 03:29:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From bkoz at gcc dot gnu dot org  2003-11-04 03:29 -------
This is a known QoI issue.

The strict conditions on filebuf::imbue are a result of not being able to deal
with possible re-conversion at the time filebuf::imbue is called. (See the Yikes
comment in the code.) If/when this is possible, I'm all for relaxing the
conditions that you've noticed so that imbuing locales into fstreams is more useful.

-benjamin



More information about the Gcc-bugs mailing list