Suggestion: Xor Comparison Operator

Gregor Richards Richards at codu.org
Thu Jul 3 21:08:47 PDT 2008


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.

  - Gregor Richards



More information about the Digitalmars-d mailing list