Opened 13 years ago

Closed 13 years ago

#3966 closed Bugs (fixed)

Rename `erase_return_void` to `quick_erase`.

Reported by: Daniel James Owned by: Daniel James
Milestone: Boost 1.43.0 Component: unordered
Version: Boost 1.42.0 Severity: Problem
Keywords: Cc:

Description

It looks very likely that erase(iterator) will be changed to return void. Previously discussed in #3693.

Change History (3)

comment:1 by Daniel James, 13 years ago

Status: newassigned
Summary: erase(iterator) should return void.Rename `erase_return_void` to `quick_erase`.

Latest news: http://lists.boost.org/Archives/boost/2010/03/163188.php quick_erase is the current leader so I'll add that and deprecate erase_return_void (already!). quick_erase might just end up being deprecated pretty quickly as well, but I don't mind such churn as long it's clear that it's likely.

comment:2 by Daniel James, 13 years ago

(In [60754]) Add quick_erase to the unordered containers. Refs #3966.

comment:3 by Daniel James, 13 years ago

Resolution: fixed
Status: assignedclosed

(In [60980]) Merge from trunk.

  • Add quick_erase for unordered. erase_return_void is now deprecated. Fixes #3966
  • Avoid collision between 0 and 0.5. Fixes #4038
Note: See TracTickets for help on using tickets.