Boost logo

Boost :

From: Gennaro Prota (gennaro_prota_at_[hidden])
Date: 2003-03-28 04:59:05


On Thu, 27 Mar 2003 16:51:35 -0500, Jan Langer <jan_at_[hidden]>
wrote:

>Gennaro Prota wrote:

>> But there are more important points I think; first of all this: if all
>> I can see "from the outside" is whether v_== minus [note: this is
>> 'plus' in the original code] why keeping three states internally?
>
>because i see no reason why they should be needed.

Sigh. You do keep them! The point is that your operator bool is a loss
of information. Ever heard of lexicographical_compare_3way?

Hoped to make some more intelligent point, but if we don't understand
each other on such basics first... :-(

Genny.


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