This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/26458] Passing a NULL char* into output stream now breaks the output stream
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Feb 2006 21:03:24 -0000
- Subject: [Bug libstdc++/26458] Passing a NULL char* into output stream now breaks the output stream
- References: <bug-26458-12260@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from pcarlini at suse dot de 2006-02-24 21:03 -------
(In reply to comment #7)
> . In my recent example I was
> explaining how, even if I asserted ostream state and detected that an
> error had occurred, I would not be able to determine WHERE the error
> had occurred.
Indeed, I understand, but this is a general "issue", which has nothing to do
with the specific inserter. Any time you "batch" many insertions you loose the
ability to do fine grained error checking, by definition.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26458