Boost logo

Boost :

From: Douglas Paul Gregor (gregod_at_[hidden])
Date: 2003-10-28 11:06:29


On Tue, 28 Oct 2003, Pavel Vozenilek wrote:
> "Douglas Gregor" <gregod_at_[hidden]> wrote
> > I'm following the standard behavior for 'bool' here, which reads in a
> 'long';
> > see 22.2.2.1.2/14.
> >
> 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.

        Doug


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