[libcxx-commits] [libcxx] [libc++][math] Generalize workaround for UCRT to `signbit` (PR #212398)
Lucas Mellone via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Aug 7 00:29:51 PDT 2026
================
@@ -65,18 +59,15 @@ struct TestInt {
template <class T>
TEST_CONSTEXPR_CXX23 void operator()() {
test<T>();
-#if TEST_STD_VER >= 23
- static_assert(test<T>());
-#endif
}
};
template <typename T>
struct ConvertibleTo {
- operator T() const { return T(); }
+ TEST_CONSTEXPR_CXX23 operator T() const { return T(); }
----------------
lknknm wrote:
Ah, sorry, it was my bad actually.
I saw the diff here and I meant changing the `TestInt` and `TestFloat` `operator()()` to match the other tests we merged for `ismeow`, given you are already changing the test itself.
But I can do that in another time if needed.
https://github.com/llvm/llvm-project/pull/212398
More information about the libcxx-commits
mailing list