Closed Bug 1539322 Opened 7 months ago Closed 7 months ago

Add Vector::eraseIf and eraseIfEqual

Categories

(Core :: MFBT, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: gerald, Assigned: gerald)

References

Details

Attachments

(1 file)

Convenience Vector functions to erase elements by value or by predicate.

Convenience functions to erase elements based on a predicate, or by comparing to
a value. They are optimized to use the minimal amount of moves necessary.

Pushed by gsquelart@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/10b63e78d828
Add Vector::eraseIf and Vector::eraseIfEqual - r=froydnj
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.