[Bug libstdc++/26458] Passing a NULL char* into output stream now breaks the output stream

pcarlini at suse dot de gcc-bugzilla@gcc.gnu.org
Fri Feb 24 21:04:00 GMT 2006



------- 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



More information about the Gcc-bugs mailing list