Boost logo

Boost :

From: Gennaro Prota (gennaro_prota_at_[hidden])
Date: 2003-01-19 13:15:57


On Sat, 18 Jan 2003 19:34:44 +0100, Gennaro Prota
<gennaro_prota_at_[hidden]> wrote:

>On Sat, 18 Jan 2003 13:06:06 -0500, David Abrahams
><dave_at_[hidden]> wrote:
>
>>Right. But does it print anything in this case?
>>
>> if (e1 < 0)
>> std::cout << "whoops\n";
>>
>>Then I'd be worried.
>
>Then you are worried ;-)

Of course the same thing holds for

   if (boost::integer_traits<unsigned int>::const_max < 0) {
        std::cout << "whoops\n";
    }

This means that I can leave the code as is and add a note to the
documentation that mentions the problem?

Genny.


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