Bug 275545

Summary: WTF::enumToUnderlyingType() should be supplanted by std::to_underlying()
Product: WebKit Reporter: Abrar Rahman Protyasha <a_protyasha>
Component: WebKit Misc.Assignee: Abrar Rahman Protyasha <a_protyasha>
Status: NEW    
Severity: Normal CC: a_protyasha, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Abrar Rahman Protyasha
Reported 2024-06-16 02:58:54 PDT
`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.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-06-16 02:59:01 PDT
Abrar Rahman Protyasha
Comment 2 2024-06-16 14:52:09 PDT
Note You need to log in before you can comment on or make changes to this bug.