#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 , 11 years ago
Component: | None → range |
---|---|
Owner: | set to |
comment:2 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 10 years ago
Fixed in trunk. The fix will appear in 1.53 (I will merge to release branch after 1.53 beta release).
Note:
See TracTickets
for help on using tickets.
I think the bug is for this page:
http://www.boost.org/doc/libs/1_47_0/libs/range/doc/html/range/reference/algorithms/heap/pop_heap.html