Tristate - wanna?

Lionello Lunesu lionello at lunesu.remove.com
Thu Oct 31 02:35:23 PDT 2013


On 10/26/13, 17:42, Andrei Alexandrescu wrote:
> unittest
> {
>      Tristate a;
>      assert(a == Tristate.no);

Why not have '0' map to unknown? Seems to more useful, like float.nan 
and the like.

L.


More information about the Digitalmars-d mailing list