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
`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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/129941348>
Abrar Rahman Protyasha
Pull request: https://github.com/WebKit/WebKit/pull/29877