Ticket #5775 (closed Bugs: fixed)
documentation: wrong description of pop_heap (copy-paste from push_heap)
|Reported by:||anonymous||Owned by:||neilgroves|
|Milestone:||To Be Determined||Component:||range|
"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"