digitalmars.D.bugs - [Bug 131] New: DocComments/Expression -- ^^ logical xor feature request
- d-bugmail puremagic.com (23/23) May 06 2006 http://d.puremagic.com/bugzilla/show_bug.cgi?id=131
- d-bugmail puremagic.com (12/12) May 25 2006 http://d.puremagic.com/bugzilla/show_bug.cgi?id=131
http://d.puremagic.com/bugzilla/show_bug.cgi?id=131 Summary: DocComments/Expression -- ^^ logical xor feature request Product: D Version: unspecified Platform: PC OS/Version: Windows Status: NEW Severity: enhancement Priority: P5 Component: www.digitalmars.com AssignedTo: bugzilla digitalmars.com ReportedBy: braddr puremagic.com Copied from wiki4d as it makes a lot of sense from a completeness and consistency standpoint: The <nowiki>XorXor</nowiki> (^^) operator would relate to the <nowiki>OrOr</nowiki> "||" and <nowiki>AndAnd</nowiki> "&&" operators in the same way that the bit wize xor "^" operator relates to bit wize Or "|" and And "&" if (paper ^^ plastic) { bag(items); } --
May 06 2006
http://d.puremagic.com/bugzilla/show_bug.cgi?id=131 bugzilla digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX A request for this operator often comes up in the C/C++ forums. The general consensus is that the need for this comes up relatively rarely, and the == operator can fill the role adequately, as in: (paper != 0) == (plastic != 0) --
May 25 2006