Bug 199099

Summary: Try to use C++14 std::enable_if_t in CheckedArithmetic.h again
Product: WebKit Reporter: Fujii Hironori <Hironori.Fujii>
Component: Web Template FrameworkAssignee: Fujii Hironori <Hironori.Fujii>
Severity: Normal CC: benjamin, cdumez, cmarcelo, dbates, ews-watchlist, ross.kirsling, webkit-bug-importer, ysuzuki
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=195187
Description Flags
Patch ross.kirsling: review+

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?
Comment 1 Fujii Hironori 2019-06-20 21:10:06 PDT
Created attachment 372614 [details]
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
Comment 4 Yusuke Suzuki 2019-06-21 00:19:21 PDT
I think it is time to use C++17 constexpr-if :)