Closed Bug 18505 Opened 25 years ago Closed 25 years ago

rename nsDeque::Peek() to nsDeque::PeekFront()

Categories

(Core :: XPCOM, defect, P3)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: waterson, Assigned: sford4)

Details

...to be consistent with PushFront() and PopFront(). This nomenclature confused both norris and jband, who assumed Peek() corresponded to Push() and Pop(), and was the cause of bug 18408. Also, implement a new nsDeque::Peek() which look at the end of the deque, and corresponds to Push()/Pop(). rickg: does that make sense?
Status: NEW → ASSIGNED
Target Milestone: M13
Assignee: scc → sford4
Status: ASSIGNED → NEW
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.