Bug 199099 - Try to use C++14 std::enable_if_t in CheckedArithmetic.h again
Summary: Try to use C++14 std::enable_if_t in CheckedArithmetic.h again
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Fujii Hironori
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-06-20 21:06 PDT by Fujii Hironori
Modified: 2019-06-21 00:19 PDT (History)
8 users (show)

See Also:


Attachments
Patch (3.58 KB, patch)
2019-06-20 21:10 PDT, Fujii Hironori
ross.kirsling: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fujii Hironori 2019-06-20 21:06:46 PDT
Try to use C++14 std::enable_if_t in CheckedArithmetic.h again

Bug 195187 changed CheckedArithmetic to not use std::enable_if_t.
Let's try C++14 again.

[webkit-dev] Which WTF headers still should be in C++11?
https://lists.webkit.org/pipermail/webkit-dev/2019-June/030692.html
Comment 1 Fujii Hironori 2019-06-20 21:10:06 PDT
Created attachment 372614 [details]
Patch
Comment 2 Fujii Hironori 2019-06-20 22:19:52 PDT
Committed r246670: <https://trac.webkit.org/changeset/246670>
Comment 3 Radar WebKit Bug Importer 2019-06-20 22:24:08 PDT
<rdar://problem/51974955>
Comment 4 Yusuke Suzuki 2019-06-21 00:19:21 PDT
I think it is time to use C++17 constexpr-if :)