Boost logo

Boost :

From: Douglas Gregor (gregod_at_[hidden])
Date: 2002-08-04 21:18:04


On Saturday 03 August 2002 09:57 pm, Petr Kocmid wrote:
> How should we do input and output with tribool? With value hidden, people
> certainly want basic_istream operator>> and << for basic_ostream. More,
> without possibility to convert to numeric type one would need needs a
> locale facets for tribool.
> So, some stream crafting similar as in boost quaternion comes to question
> (Quaternion i/o is modelled after std::complex I believe).
>
> Petr Kocmid

Yes, this should be handled, I'm just not sure how :). How should the third
state of tribool look? Should it have a specific value? (-1? 2?) Or just name
it?

        Doug


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