Closed Bug 1595750 Opened 5 years ago Closed 5 years ago

nsTArray should provide back-inserting OutputIterator

Categories

(Core :: XPCOM, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: sg, Assigned: sg)

References

Details

Attachments

(1 file)

For nsTArray, a back-inserting OutputIterator (like std::back_inserter for std::vector) should be provided.

Assignee: nobody → sgiesecke
Status: NEW → ASSIGNED
Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9b131da7e0cc
Add MakeBackInserter function to create a back-inserting output iterator for nsTArray. r=froydnj
Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/351b6e9f017b
Add MakeBackInserter function to create a back-inserting output iterator for nsTArray. r=froydnj

Fixed and relanded.

Flags: needinfo?(sgiesecke)
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
Regressions: 1623325
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: