yank unary '+'?

bearophile bearophileHUGS at lycos.com
Mon Dec 7 04:17:48 PST 2009


Thanks to Andrei to explain the situation better.

Denis Koroskin:
> OpTrue also implies opFalse, which is redundant.

C# allows to define both methods, but I don't like that. The compiler can just return the negation of opTrue, no need of opFalse. Is this a good enough solution? It looks better than using !!.

Bye,
bearophile



More information about the Digitalmars-d mailing list