mirror of
https://github.com/boostorg/range.git
synced 2025-07-29 12:27:42 +02:00
[range] fixed #5775 (typo in the documentation of pop_heap())
[SVN r82313]
This commit is contained in:
@ -23,7 +23,7 @@ const RandomAccessRange& pop_heap(const RandomAccessRange& rng, Compare pred);
|
||||
|
||||
[heading Description]
|
||||
|
||||
`pop_heap` removes the largest element from the heap. It is assumed that `begin(rng), prior(end(rng))` is already a heap and that the element to be added is `*prior(end(rng))`.
|
||||
`pop_heap` removes the largest element from the heap. It is assumed that `begin(rng), prior(end(rng))` is already a heap (and therefore the largest element is `*begin(rng)`).
|
||||
|
||||
The ordering relationship is determined by using `operator<` in the non-predicate versions, and by evaluating `pred` in the predicate versions.
|
||||
|
||||
|
Reference in New Issue
Block a user