[libcxx-commits] [libcxx] [libc++] Fix acceptance of convertible-to-{float, double, long double} in std::isfinite() (PR #98841)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jul 15 11:59:14 PDT 2024


ldionne wrote:

Thanks for the patch! Is there a reason why we must apply `_LIBCPP_PREFERRED_OVERLOAD` at all? This might be a naive question, but GCC implements the same thing without any trickery so I wonder why we need `_LIBCPP_PREFERRED_OVERLOAD` in the first place.

https://github.com/llvm/llvm-project/pull/98841


More information about the libcxx-commits mailing list