WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-06-16 02:59:01 PDT
<
rdar://problem/129941348
>
Abrar Rahman Protyasha
Comment 2
2024-06-16 14:52:09 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/29877
EWS
Comment 3
2026-02-17 23:56:17 PST
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
Comment 4
2026-02-18 18:19:47 PST
Re-opened since this is blocked by
bug 308187
Abrar Rahman Protyasha
Comment 5
2026-02-18 23:13:24 PST
Pull request:
https://github.com/WebKit/WebKit/pull/58988
EWS
Comment 6
2026-02-19 22:29:34 PST
Committed
307888@main
(56421ebca165): <
https://commits.webkit.org/307888@main
> Reviewed commits have been landed. Closing PR #58988 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug