Modify

Opened 10 years ago

Closed 10 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@…> 10 years ago.
Patch for the Documentation Corrections

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by Charles Brockman <cmbrockman@…>

Patch for the Documentation Corrections

comment:1 Changed 10 years ago by Gennaro Prota

Resolution: fixed
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain jsiek.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.