[Webkit-unassigned] [Bug 275545] New: WTF::enumToUnderlyingType() should be supplanted by std::to_underlying()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jun 16 02:58:54 PDT 2024


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

            Bug ID: 275545
           Summary: WTF::enumToUnderlyingType() should be supplanted by
                    std::to_underlying()
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: a_protyasha at apple.com
                CC: a_protyasha at apple.com,
                    webkit-bug-importer at group.apple.com

`std::to_underlying()` is identical to `WTF::enumToUnderlyingType()`. Since the former is part of C++23's <utility> header, we should simply supersede the latter once we build against C++23.

-- 
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/20240616/76128bdd/attachment.htm>


More information about the webkit-unassigned mailing list