|
Boost : |
From: Bill Seymour (bill-at-the-office_at_[hidden])
Date: 2002-08-05 08:48:32
Doug asks:
>
> How should the third state of tribool look [on output]?
> Should it have a specific value? (-1? 2?) Or just name it?
>
Yes 8-), depending on the state of ios_base::boolalpha.
I'm not sure how the name of the third state could be localized
unless it gets named "truefalse" or "true-false" or something
like that. But that wouldn't be extensible to n-bool.
--Bill Seymour
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk