From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-11-14 12:23:59
From: "Ullrich Koethe" <u.koethe_at_[hidden]>
> > My 2 cents: I worry a little about any error detection mechanism that
> > requires the allocation of resources. In particular, this streaming
> > interface looks on the surface like it could throw an exception before
> > intended error is reported.
> You are right, but any decent error reporting scheme will require
> allocation of some ressources. It's a tradeoff between convenience and
> safety, and I would probably vote on the convenience side.
I'm not certain: isn't it possible to used some kind of fixed-size buffer
for this? I'd be content if the resources only needed to be allocated once,
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk