Closed
Bug 178182
Opened 22 years ago
Closed 13 years ago
|nsCOMPtr|: add convenience function for `getters' to |AddRef| a result
Categories
(Core :: XPCOM, enhancement)
Core
XPCOM
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: scc, Unassigned)
References
Details
See bug #172030 for detailed discussion which I will abstract here:
for functions that return (or should return) an |already_AddRefed<T>|, can we
provide a typesafe convenience function that |AddRef|s and returns given either
an |nsCOMPtr| or a raw pointer as a source
See, in particular, discussion in and around this comment --
http://bugzilla.mozilla.org/show_bug.cgi?id=172030#c18
Reporter | ||
Updated•22 years ago
|
Blocks: nsCOMPtr_tracking
Reporter | ||
Updated•22 years ago
|
Status: NEW → ASSIGNED
Reporter | ||
Updated•22 years ago
|
Severity: normal → enhancement
Reporter | ||
Comment 1•22 years ago
|
||
See also dbradley's suggested solution to this problem in bug #190746
Updated•18 years ago
|
Assignee: scc → nobody
Status: ASSIGNED → NEW
QA Contact: scc → xpcom
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•