Opened 15 years ago

Closed 14 years ago

#1591 closed Patches (fixed)

Documentation Corrections - Non-Member Functions

Reported by: Charles Brockman <cmbrockman@…> Owned by: jsiek
Milestone: Boost 1.36.0 Component: dynamic_bitset
Version: Boost 1.34.1 Severity: Problem
Keywords: Cc:

Description

In the documentation at /libs/dynamic_bitset/dynamic_bitset.html, I think there are errors in two sentences.

In the Non-Member Functions section, see operator& and the two following functions, operator| and operator^. The second sentence of each Returns paragraph is identical among the three descriptions:

Note that the expression b1 & b2 is equivalent to creating a temporary copy of b1, using operator&=, and returning the temporary copy.

I think the operator| part should read: Note that the expression b1 | b2 is equivalent to creating a temporary copy of b1, using operator|=, and returning the temporary copy.

and the operator^ part should read: Note that the expression b1 ^ b2 is equivalent to creating a temporary copy of b1, using operator^=, and returning the temporary copy.

The similar Returns paragraph at operator- appears to be correct.

Attachments (1)

dynamic_bitset_html_patch.txt (746 bytes ) - added by Charles Brockman <cmbrockman@…> 15 years ago.
Patch for the Documentation Corrections

Download all attachments as: .zip

Change History (2)

by Charles Brockman <cmbrockman@…>, 15 years ago

Patch for the Documentation Corrections

comment:1 by Gennaro Prota, 14 years ago

Resolution: fixed
Status: newclosed

Fixed on the release branch for Boost 1.36.0 (revision 47328).

Note: See TracTickets for help on using tickets.