Boost logo

Boost :

From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2003-10-28 07:37:18


"Douglas Gregor" <gregod_at_[hidden]> wrote
> I've updated the tribool library
>
Looked briefly on it:

1. Woudn't it be better to output indeterminate value as '?' character
(instead of number 2, where applicable)?
2. Reading value from stream:

    long value;
    if (in >> value) {
        ....

   Maybe only single char (wchar_t) should be read out - what if someone
outputs two tribools without separator.
3. Docs: tribool.tests.html: links to tests are invalid.
4. Is there reason why XOR operation isn't present?

/Pavel


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