2 <clause number="14.10.3" title="Boolean logical operators">
3 <paragraph>The predefined boolean logical operators are: <code_example><![CDATA[
4 bool operator &(bool x, bool y);
5 bool operator |(bool x, bool y);
6 bool operator ^(bool x, bool y);
7 ]]></code_example></paragraph>
8 <paragraph>The result of x & y is true if both x and y are true. Otherwise, the result is false. </paragraph>
9 <paragraph>The result of x | y is true if either x or y is true. Otherwise, the result is false. </paragraph>
10 <paragraph>The result of x ^ y is true if x is true and y is false, or x is false and y is true. Otherwise, the result is false. When the operands are of type <keyword>bool</keyword>, the ^ operator computes the same result as the != operator. </paragraph>