NEW 275545
WTF::enumToUnderlyingType() should be supplanted by std::to_underlying()
https://bugs.webkit.org/show_bug.cgi?id=275545
Summary WTF::enumToUnderlyingType() should be supplanted by std::to_underlying()
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.