It was only used in one place, and it seems entirely valid to use
constexpr unconditionally in that location.
Note that a different change was attempted, i.e. using consteval
unconditionally. However, this led to http://llvm.org/PR60709.
Differential D145700
[libc++] Remove _LIBCPP_CONSTEVAL ldionne on Mar 9 2023, 9:28 AM. Authored by
Details
It was only used in one place, and it seems entirely valid to use Note that a different change was attempted, i.e. using consteval
Diff Detail
Unit Tests |