Open
Bug 1553616
Opened 6 years ago
Updated 2 years ago
Add begin() and end() methods to nsTStringRepr as aliases for BeginReading and BeginWriting
Categories
(Core :: XPCOM, enhancement)
Core
XPCOM
Tracking
()
NEW
People
(Reporter: kmag, Unassigned, Mentored)
Details
It would be nice to be able to transparently use nsTString instances as ranged iterators. It's easy enough to just call MakeSpan, I suppose, but that possibility didn't even occur to me until someone else suggested it.
Adding begin() and end() methods that just defer to BeginReading() and EndReading() would solve this problem pretty trivially.
Comment 1•6 years ago
|
||
Bugbug thinks this bug is a enhancement, but please change it back in case of error.
Type: defect → enhancement
Updated•5 years ago
|
Component: XPCOM → String
| Assignee | ||
Updated•4 years ago
|
Component: String → XPCOM
Updated•3 years ago
|
Severity: normal → S3
Updated•2 years ago
|
Mentor: brennie
You need to log in
before you can comment on or make changes to this bug.
Description
•