Boost C++ Libraries: Ticket #3578: erroneous c 'n p error for logical/bit operators in documentation https://svn.boost.org/trac10/ticket/3578 <p> table 2 and 3 under </p> <p> <a class="ext-link" href="http://www.boostpro.com/tmpbook/preprocessor.html"><span class="icon">​</span>http://www.boostpro.com/tmpbook/preprocessor.html</a> -&gt; A.4.2 Arithmetic, Logical, and Comparison Operations </p> <p> seem to be mistakenly identical. I would guess/expect that the bit logic operations would use |, &amp;, and most importantly <sup> </sup></p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3578 Trac 1.4.3 Steven Watanabe Thu, 29 Oct 2009 16:23:58 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3578#comment:1 https://svn.boost.org/trac10/ticket/3578#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">invalid</span> </li> </ul> <p> The macros BOOST_PP_BITAND etc, are not the equivalents of &amp;, |, etc. The difference from the logical operators is: </p> <blockquote class="citation"> <p> The logical/ subdirectory contains the convenient Boolean token operations shown in Table A.2 and the more efficient operations shown in Table A.3, which require that their operands are either 0 or 1 (a single bit). </p> </blockquote> Ticket