This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/21955] std::stringbuf vs. in_avail
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jun 2005 21:54:07 -0000
- Subject: [Bug libstdc++/21955] std::stringbuf vs. in_avail
- References: <20050607212806.21955.bkoz@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pcarlini at suse dot de 2005-06-07 21:54 -------
Hi Benjamin. I see: basically, we forgot to implement the stringbug::showmanyc
virtual. Strictly speaking the current behavior is correct wrt the standard but
indeed providing the natural one (as you are doing) improves consistency and
QoI. If I read the patch correctly, besides testsuite and clean-ups, you basically
implemented the expected showmanyc and that's definitely a nice idea!
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21955