RESOLVED FIXED211705
Add copy constructor and assignment operator to Ref<>
https://bugs.webkit.org/show_bug.cgi?id=211705
Summary Add copy constructor and assignment operator to Ref<>
Darin Adler
Reported 2020-05-10 16:36:42 PDT
Add copy constructor and assignment operator to Ref<>
Attachments
Patch (6.07 KB, patch)
2020-05-10 16:42 PDT, Darin Adler
sam: review+
Darin Adler
Comment 1 2020-05-10 16:42:46 PDT
Darin Adler
Comment 2 2020-05-10 16:46:11 PDT
Comment on attachment 398986 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=398986&action=review > Source/WTF/ChangeLog:19 > + These follow a similar patter to the move constructor and assignment operator. probably should spell it "pattern".
Chris Dumez
Comment 3 2020-05-10 22:32:10 PDT
I am glad Ref will finally have this.
Darin Adler
Comment 4 2020-05-10 23:15:01 PDT
Radar WebKit Bug Importer
Comment 5 2020-05-10 23:15:18 PDT
Andreas Kling
Comment 6 2020-06-11 04:24:24 PDT
Great change! :) In retrospect, efforts to avoid refcount churn are probably best limited to situations where it has a measurable impact on performance, and should not be a goal in itself.
Darin Adler
Comment 7 2020-06-12 13:34:44 PDT
Thank you, sir. Great to get a vote of confidence from the "founder of the [Ref class template] feast".
Note You need to log in before you can comment on or make changes to this bug.