Subject: [Boost-bugs] [Boost C++ Libraries] #5775: documentation: wrong description of pop_heap (copy-paste from push_heap)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-08-11 11:15:17
#5775: documentation: wrong description of pop_heap (copy-paste from push_heap)
------------------------------+---------------------------------------------
Reporter: anonymous | Owner:
Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
Version: Boost 1.47.0 | Severity: Problem
Keywords: |
------------------------------+---------------------------------------------
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"
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5775> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC