WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
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
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