Closed
Bug 1329513
Opened 8 years ago
Closed 8 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: mozbugz, Assigned: mozbugz)
References
Details
Attachments
(1 file)
Basically, a combination of RemovePointer<T> and RemoveSmartPointer<T>.
Comment hidden (mozreview-request) |
![]() |
||
Comment 2•8 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•8 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•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 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
•