🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #1765

Why no logical XOR operator?

#1765
From: Robert Risack
Date: Wed, 16 Aug 1995 13:28
18 lines
1185 bytes
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. ]
Technical Details
Message-ID: <40sp1t$lbc@cd4680fs.rrze.uni-erlangen.de>
Path: arc1-ca.pugleaf.net!in1.uu.net!bounce-back

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!in1.uu.net!bounce-back
Date: 16 Aug 95 13:28:16 GMT
Approved: fjh@cs.mu.oz.au
Return-Path: <daemon@ncar.UCAR.EDU>
From: rtrisack@faui01.informatik.uni-erlangen.de (Robert Risack)
Newsgroups: comp.std.c++
Subject: Why no logical XOR operator?
X-Original-Date: 16 Aug 1995 12:41:33 GMT
Organization: Student Pool, CSD., University of Erlangen
Message-ID: <40sp1t$lbc@cd4680fs.rrze.uni-erlangen.de>