[libcxx-commits] [libcxx] [libc++] Refactor tests and add constraint checks (PR #175388)
via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Jan 12 02:44:05 PST 2026
================
@@ -52,11 +52,6 @@ template <class _Tp>
return __a + std::midpoint(ptrdiff_t(0), __b - __a);
}
-template <typename _Tp>
-_LIBCPP_HIDE_FROM_ABI constexpr int __sign(_Tp __val) {
- return (_Tp(0) < __val) - (__val < _Tp(0));
-}
-
----------------
eiytoq wrote:
I opened PR #175514 for the __sign cleanup.
https://github.com/llvm/llvm-project/pull/175388
More information about the libcxx-commits
mailing list