Boost logo

Boost :

From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2003-10-28 11:29:24


"Douglas Paul Gregor" <gregod_at_[hidden]> wrote

> > Would it be also possible to add BOOST_ASSERT into I/O operations, to
> > protect against user errors?
>
> What would it assert? If the input cannot be accepted, the fail bit will
> be set.
>
This situation - it is most likely programmer error, like missing separator.
Just to get immediate notification of error.

/Pavel


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk