Add `constexpr` `AnyOf`
Categories
(Core :: MFBT, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox85 | --- | fixed |
People
(Reporter: mbrodesser-Igalia, Assigned: mbrodesser-Igalia)
References
Details
Attachments
(1 file)
The constexpr
version is only supported by C++20.
Comment 1•4 years ago
|
||
(In reply to Mirko Brodesser (:mbrodesser) from comment #0)
The
constexpr
version is only supported by C++20.
You mean std::any_of
is only constexpr
in C++20, and so we should add a constexpr
mozilla::AnyOf
until we upgrade to C++20?
Assignee | ||
Comment 2•4 years ago
|
||
(In reply to Simon Giesecke [:sg] [he/him] from comment #1)
(In reply to Mirko Brodesser (:mbrodesser) from comment #0)
The
constexpr
version is only supported by C++20.You mean
std::any_of
is onlyconstexpr
in C++20, and so we should add aconstexpr
mozilla::AnyOf
until we upgrade to C++20?
Exactly. Will create a review soon.
Assignee | ||
Comment 3•4 years ago
|
||
The STL supports it only with C++20.
Comment 5•4 years ago
|
||
Backed out for build bustages.
Log: https://treeherder.mozilla.org/logviewer?job_id=321879502&repo=autoland&lineNumber=36211
Backout: https://hg.mozilla.org/integration/autoland/rev/c1478fe4a2a75467bfdf73d80060d8ccf2eecffa
Assignee | ||
Updated•4 years ago
|
Comment 7•4 years ago
|
||
bugherder |
Description
•