Closed Bug 1276550 Opened 3 years ago Closed 3 years ago
Support operator-> for Ranged
58 bytes, text/x-review-board-request
Bug 1244590  wants to let mozilla::RangedPtr point to an element of nsTArray. If we want to access the member/method of RangedPtr<T>::mPtr, we have to use get() or operator* which makes the code not easy to be read/reviewed. Therefore, we want to add the new operator, operator->() in mozilla::RangedPtr.  Bug 1244590 comment 91 and Bug 1244590 comment 94.
Review commit: https://reviewboard.mozilla.org/r/56184/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/56184/
Attachment #8757762 - Flags: review?(jwalden+bmo)
Comment on attachment 8757762 [details] MozReview Request: Bug 1276550 - Support operator-> for RangedPtr. https://reviewboard.mozilla.org/r/56184/#review54084
Attachment #8757762 - Flags: review?(jwalden+bmo) → review+
Pushed by email@example.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/30a1d2e8e043 Support operator-> for RangedPtr. r=Waldo
You need to log in before you can comment on or make changes to this bug.