Opened 11 years ago

Closed 10 years ago

Last modified 10 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:

Description

Quote:

"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"

Change History (4)

comment:1 by anonymous, 11 years ago

Component: Nonerange
Owner: set to Neil Groves

comment:2 by Nathan Ridge, 10 years ago

Resolution: fixed
Status: newclosed

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

comment:3 by Nathan Ridge, 10 years ago

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

comment:4 by Nathan Ridge, 10 years ago

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

Note: See TracTickets for help on using tickets.