Topic: Why no logical XOR operator?
Author: fjh@cs.mu.oz.au
Date: 1995/08/30 Raw View
David Chase <chase@centerline.com> writes:
>dougm@rice.edu (Doug Moore) writes:
>
>> While I agree that it is a common and basically pointless question, I
>> can't believe that a message which is nothing but a flame made it past
>> moderation.
>
>This is probably pointless as well, but a detailed rationale (which, last
>I heard, was not in the plans for C++) could answer these questions as
>well. Is there a rationale for why there is no rationale?
I think the rationale is simply lack of manpower and/or enthusiasm for
the task - no-one volunteered to do the necessary work to produce a
rationale.
--
Fergus Henderson | #define x t=a[i],a[i]=a[m],a[m]=t
| char a[]=" 12345678";main(m,i,j,t){for(i=m;i<
fjh@cs.mu.oz.au | 9;x,i++)for(x,j=m;--j?(t=a[m-j]-a[m])-j&&t+j:
http://www.cs.mu.oz.au/~fjh | main(m+1)*0;);m-9||puts(a+1);} /* 8 queens */
---
[ comp.std.c++ is moderated. Submission address: std-c++@ncar.ucar.edu.
Contact address: std-c++-request@ncar.ucar.edu. The moderation policy
is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Author: David Chase <chase@centerline.com>
Date: 1995/08/22 Raw View
In article <41bf4j$d70@larry.rice.edu>, dougm@rice.edu (Doug Moore) writes:
> While I agree that it is a common and basically pointless question, I
> can't believe that a message which is nothing but a flame made it past
> moderation.
This is probably pointless as well, but a detailed rationale (which, last
I heard, was not in the plans for C++) could answer these questions as
well. Is there a rationale for why there is no rationale?
speaking for myself,
David Chase
---
[ comp.std.c++ is moderated. Submission address: std-c++@ncar.ucar.edu.
Contact address: std-c++-request@ncar.ucar.edu. The moderation policy
is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Author: rtrisack@faui01.informatik.uni-erlangen.de (Robert Risack)
Date: 1995/08/16 Raw View
Hello.
I'm wondering why there isn't a logical XOR operator (eg. ^^)
though there is a bitwise one (ie. ^).
The other bitwise operators ( & | and ~ ) have their logical
aquivalent ( && || and ! ). And the XOR is IMHO not that uncommon.
Bye...
---
| '. .. | Robert Risack | Jeder ist Auslaender - fast
, s| __/ . <___> __/ o . | _ | ueberall. Everybody is a
`--' /.. / / . / / | PObEPT P|/|3AK | foreigner - almost everywhere.
Robert Risack - Gebbertstr. 12 - 91054 Erlangen - FR Germany
---
[ comp.std.c++ is moderated. Submission address: std-c++@ncar.ucar.edu.
Contact address: std-c++-request@ncar.ucar.edu. The moderation policy
is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]