0

Well I noticed recently that the more unusual bool operators arnt there. How would I use them?
Ex: xand, NAND, nor, etc.

2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by mike_2000_17
0

These operators can easily be computed from the other operators:

if( a NAND b)
// is equivalent to:
if( ! (a && b) )

And so on for other operators. The C/C++ designers didn't see the point in having all operators, just the basic ones.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.