Modify

Ticket #5775 (closed Bugs: fixed)

Opened 3 years ago

Last modified 15 months ago

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:

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"

Attachments

Change History

comment:1 Changed 3 years ago by anonymous

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

comment:2 Changed 16 months ago by nathanridge

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

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

comment:3 Changed 16 months 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 15 months 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).

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


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

 
Note: See TracTickets for help on using tickets.