Opened 13 years ago

Closed 13 years ago

#3578 closed Bugs (invalid)

erroneous c 'n p error for logical/bit operators in documentation

Reported by: Guido Saßmannshausen <sassmannshausen@…> Owned by: No-Maintainer
Milestone: Boost 1.41.0 Component: preprocessor
Version: Boost 1.40.0 Severity: Cosmetic
Keywords: documentation, operators Cc:

Description

table 2 and 3 under

http://www.boostpro.com/tmpbook/preprocessor.html -> A.4.2 Arithmetic, Logical, and Comparison Operations

seem to be mistakenly identical. I would guess/expect that the bit logic operations would use |, &, and most importantly

Change History (1)

comment:1 by Steven Watanabe, 13 years ago

Resolution: invalid
Status: newclosed

The macros BOOST_PP_BITAND etc, are not the equivalents of &, |, etc. The difference from the logical operators is:

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).

Note: See TracTickets for help on using tickets.