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.
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.