This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/12868] basic_filebuf::imbue fails too easily
- From: "bkoz at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Nov 2003 03:29:41 -0000
- Subject: [Bug libstdc++/12868] basic_filebuf::imbue fails too easily
- References: <20031101081450.12868.peturr02@ru.is>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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