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: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | a_protyasha, commit-queue, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 308187 | ||
| Bug Blocks: | |||
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
EWS
Committed 307747@main (504f29d82513): <https://commits.webkit.org/307747@main>
Reviewed commits have been landed. Closing PR #29877 and removing active labels.
WebKit Commit Bot
Re-opened since this is blocked by bug 308187
Abrar Rahman Protyasha
Pull request: https://github.com/WebKit/WebKit/pull/58988
EWS
Committed 307888@main (56421ebca165): <https://commits.webkit.org/307888@main>
Reviewed commits have been landed. Closing PR #58988 and removing active labels.