Closed
Bug 1761536
Opened 2 years ago
Closed 2 years ago
Add a `value_type` typedef to nsTArray
Categories
(Core :: XPCOM, task)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
100 Branch
Tracking | Status | |
---|---|---|
firefox100 | --- | fixed |
People
(Reporter: nika, Assigned: nika)
Details
Attachments
(2 files)
This allows the type to appear slightly more like std::vector
for generic code, allowing it to be used in some generic code designed for stl collections.
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
There weren't that many uses of the existing typedef, so it seemed like
it might be worthwhile to just replace all uses of the previous typedef
with the stl-like one.
Updated•2 years ago
|
Attachment #9270302 -
Attachment description: Bug 1761536 - Add a `value_type` typedef to nsTArray, r=#xpcom-reviewers → Bug 1761536 - Part 1: Add a `value_type` typedef to nsTArray, r=#xpcom-reviewers
Pushed by nlayzell@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6402ec96aa4a Part 1: Add a `value_type` typedef to nsTArray, r=xpcom-reviewers,mccr8 https://hg.mozilla.org/integration/autoland/rev/5e5c1c1c2630 Part 2: Replace nsTArray::elem_type with value_type, r=mccr8
Comment 4•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/6402ec96aa4a
https://hg.mozilla.org/mozilla-central/rev/5e5c1c1c2630
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox100:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•