3 <title>BOOST_PP_BITNOR
</title>
4 <link rel=
"stylesheet" type=
"text/css" href=
"../styles.css">
7 <div style=
"margin-left: 0px;">
8 The
<b>BOOST_PP_BITNOR
</b> macro expands to the bitwise
<i>NOR
</i> of its operands.
12 <b>BOOST_PP_BITNOR
</b>(
<i>x
</i>,
<i>y
</i>)
18 The left operand of the operation.
19 This value must expand to
<i>0</i> or
<i>1</i>.
23 The right operand of the operation.
24 This value must expand to
<i>0</i> or
<i>1</i>.
29 If neither
<i>x
</i> nor
<i>y
</i> is
<i>1</i>, this macro expands to
<i>1</i>.
30 Otherwise, it expands to
<i>0</i>.
33 This macro
<i>does not
</i> perform a boolean conversion on either operand before performing the bitwise
<i>NOR
</i> operation.
34 If that conversion is necessary, use
<b>BOOST_PP_NOR
</b> instead.
38 <li><a href=
"nor.html">BOOST_PP_NOR
</a></li>
42 <b>Header:
</b> <a href=
"../headers/logical/bitnor.html"><boost/preprocessor/logical/bitnor.hpp
></a>
46 #include
<<a href=
"../headers/logical/bitnor.html">boost/preprocessor/logical/bitnor.hpp
</a>>
48 <a href=
"bitnor.html">BOOST_PP_BITNOR
</a>(
0,
0) // expands to
1
49 <a href=
"bitnor.html">BOOST_PP_BITNOR
</a>(
0,
1) // expands to
0
50 <a href=
"bitnor.html">BOOST_PP_BITNOR
</a>(
1,
0) // expands to
0
51 <a href=
"bitnor.html">BOOST_PP_BITNOR
</a>(
1,
1) // expands to
0
54 <div style=
"margin-left: 0px;">
55 <i>© Copyright
<a href=
"http://www.housemarque.com" target=
"_top">Housemarque Oy
</a> 2002</i>
56 </br><i>© Copyright Paul Mensonides
2002</i>
58 <div style=
"margin-left: 0px;">
59 <p><small>Distributed under the Boost Software License, Version
1.0. (See
60 accompanying file
<a href=
"../../../../LICENSE_1_0.txt">LICENSE_1_0.txt
</a> or
62 "http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt
</a>)
</small></p>