WIP: FloatOptional GCC build fix and more constexpr #1411
Reference in New Issue
Block a user
No description provided.
Delete Branch "NickGerleman-fix-gcc-floatoptional"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
GCC flags that is is not declared
constexpr
but thatunwrapOrDefault()
is.std::isnan
is not constexpr until C++ 23 (because we cannot have nice things), so I madeyoga::isUndefined()
constexpr, using the same codestd::isnan()
boils down to. I then madeFloatOptional
depend onComparison.h
(instead of the other way around), so we can use it.@NickGerleman has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
This pull request was exported from Phabricator. Differential Revision: D49896837
This pull request was exported from Phabricator. Differential Revision: D49896837
Pull request closed