Suggestion: Xor Comparison Operator
superdan
super at dan.org
Thu Jul 3 21:41:01 PDT 2008
Gregor Richards Wrote:
> Nick Sabalausky wrote:
> > Pretty much just as the subject says. It's rare and far from major, but I've
> > come across a few places where it would be nice to be able to say "if(A ^^
> > B)" instead of "if(A && !B || !A && B)".
> >
> >
>
> != is xor, genius.
and <= is implication btw. but it does exhaustive evaluation unfortunately.
More information about the Digitalmars-d
mailing list