Opened 6 years ago

Closed 5 years ago

Last modified 5 years ago

#5775 closed Bugs (fixed)

documentation: wrong description of pop_heap (copy-paste from push_heap)

Reported by: anonymous Owned by: Neil Groves
Milestone: To Be Determined Component: range
Version: Boost 1.47.0 Severity: Problem
Keywords: Cc:



"It is assumed that begin(rng), prior(end(rng)) is already a heap and that the element to be added is *prior(end(rng))."

It is also worth to mention that largest element is *begin(rng). Quote:

"pop_heap removes the largest element from the heap"

Attachments (0)

Change History (4)

comment:1 Changed 6 years ago by anonymous

Component: Nonerange
Owner: set to Neil Groves

comment:2 Changed 5 years ago by Nathan Ridge

Resolution: fixed
Status: newclosed

(In [82313]) [range] fixed #5775 (typo in the documentation of pop_heap())

comment:3 Changed 5 years ago by Nathan Ridge

Fixed in trunk. The fix will appear in 1.53 (I will merge to release branch after 1.53 beta release).

comment:4 Changed 5 years ago by Nathan Ridge

(In [82487]) [range] Merge documentation fixes and minor refactoring of docs (refs #5160; refs #5314; refs #5440; refs #5775; refs #6212; refs #7585; refs #7843; refs #7866).

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Neil Groves.
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.