Closed
Bug 1645429
Opened 5 years ago
Closed 5 years ago
Replace custom implementation of ReverseIterator by std::reverse_iterator
Categories
(Core :: MFBT, task)
Core
MFBT
Tracking
()
RESOLVED
FIXED
mozilla79
Tracking | Status | |
---|---|---|
firefox79 | --- | fixed |
People
(Reporter: sg, Assigned: sg)
Details
Attachments
(3 files, 1 obsolete file)
mozilla::ReverseIterator
does not appear to provide benefits over std::reverse_iterator
, but it would require some fixes to be a proper STL-style iterator. Therefore, its implementation should be replaced by the use of std::reverse_iterator
.
Assignee | ||
Comment 1•5 years ago
|
||
Depends on D79488
Updated•5 years ago
|
Assignee: nobody → sgiesecke
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•5 years ago
|
||
Depends on D79489
Updated•5 years ago
|
Attachment #9156309 -
Attachment is obsolete: true
Updated•5 years ago
|
Attachment #9156308 -
Attachment description: Bug 1645429 - Fix some glitches in iterator types. r=froydnj → Bug 1645429 - Use std::reverse_iterator instead of mozilla::ReverseIterator where possible. r=froydnj
Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/22a19cf66ef3
Use std::reverse_iterator instead of mozilla::ReverseIterator where possible. r=froydnj
Comment 4•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox79:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
Assignee | ||
Comment 5•5 years ago
|
||
Depends on D79488
Assignee | ||
Comment 6•5 years ago
|
||
Depends on D79957
Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7734de6f12c6
Add tests for ReverseIterator and fix implementation of ReverseIterator::operator-. r=froydnj
https://hg.mozilla.org/integration/autoland/rev/70be34453afb
Do not use ReverseIterator in nsTObserverArray::NonObservingRange. r=froydnj
Comment 8•5 years ago
|
||
bugherder |
You need to log in
before you can comment on or make changes to this bug.
Description
•