[Webkit-unassigned] [Bug 205617] Add makeRefCounted<>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Dec 28 12:02:13 PST 2019


https://bugs.webkit.org/show_bug.cgi?id=205617

--- Comment #4 from Sam Weinig <sam at webkit.org> ---
I think there is a good argument to be made that the macro based solution I propose above is superior to the create() functions, as it is substantially less code to write per class. 

I think the argument could also be made that the usefulness of preventing RefCounted objects from being incorrectly constructed into something that isn't a Ref/RefPtr might be more hassle than it is worth. 

All things being equal though, I think I would side with the macro solution for now.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191228/2c8ff22d/attachment.htm>


More information about the webkit-unassigned mailing list