[libcxx-commits] [libcxx] [libc++] Add std::fpclassify overloads for floating-point. (PR #67913)
via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Oct 5 02:07:44 PDT 2023
================
@@ -387,8 +387,18 @@ namespace __math {
// fpclassify
-template <class _A1, std::__enable_if_t<std::is_floating_point<_A1>::value, int> = 0>
-_LIBCPP_NODISCARD_EXT inline _LIBCPP_HIDE_FROM_ABI int fpclassify(_A1 __x) _NOEXCEPT {
+template <class = int>
----------------
philnik777 wrote:
Could you add a comment why this is required on the non-double overloads too?
https://github.com/llvm/llvm-project/pull/67913
More information about the libcxx-commits
mailing list