Closed
Bug 1329513
Opened 4 years ago
Closed 4 years ago
Add RemoveRawOrSmartPointer<T> to remove raw and smart pointers from their contained type
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
FIXED
mozilla53
Tracking | Status | |
---|---|---|
firefox53 | --- | fixed |
People
(Reporter: gerald, Assigned: gerald)
References
Details
Attachments
(1 file)
Basically, a combination of RemovePointer<T> and RemoveSmartPointer<T>.
Comment hidden (mozreview-request) |
![]() |
||
Comment 2•4 years ago
|
||
mozreview-review |
Comment on attachment 8824832 [details] Bug 1329513 - RemoveRawOrSmartPointerHelper to extract T from T*, RefPtr<T>, and nsCOMPtr<T> - https://reviewboard.mozilla.org/r/103106/#review103894 `static_assert`-style tests for this would be splendid. :)
Attachment #8824832 -
Flags: review?(nfroyd) → review+
Comment hidden (mozreview-request) |
Pushed by gsquelart@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2df2cb2dd088 RemoveRawOrSmartPointerHelper to extract T from T*, RefPtr<T>, and nsCOMPtr<T> - r=froydnj
Assignee | ||
Comment 5•4 years ago
|
||
Renamed 'RemoveAnyPointer' to 'RemoveRawOrSmartPointer', as I didn't want to give the wrong impression that it could remove other types of smart pointers like UniquePtr.
Summary: Add RemoveAnyPointer<T> to remove raw and smart pointers from their contained type → Add RemoveRawOrSmartPointer<T> to remove raw and smart pointers from their contained type
Comment 6•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2df2cb2dd088
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
You need to log in
before you can comment on or make changes to this bug.
Description
•