Opened 6 years ago

Closed 4 years ago

Last modified 4 years ago

#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
Version: Boost 1.47.0 Severity: Problem
Keywords: Cc:



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

Attachments (0)

Change History (4)

comment:1 Changed 6 years ago by anonymous

  • Component changed from None to range
  • Owner set to neilgroves

comment:2 Changed 4 years ago by nathanridge

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:3 Changed 4 years ago by nathanridge

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

comment:4 Changed 4 years ago by nathanridge

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

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain neilgroves.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.