[Webkit-unassigned] [Bug 226158] New: Add CheckedPtr

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 23 13:51:48 PDT 2021


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

            Bug ID: 226158
           Summary: Add CheckedPtr
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rniwa at webkit.org

Add a new smart pointer type, CheckedPtr, which increments & decrements the internal counter of an object like RefPtr
but simply release asserts that there is no outstanding pointer (i.e. count is 0) instead of keeping the object alive
when the count is greater than 0.

-- 
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/20210523/d1f04844/attachment.htm>


More information about the webkit-unassigned mailing list