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

Robin Caloudis via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jul 16 07:17:46 PDT 2024


robincaloudis wrote:

Thanks for the hint! You two are completely right. `_LIBCPP_PREFERRED_OVERLOAD` is not needed. So far, all tests look good. 

Once this is merged, I will also properly test the convertible types for `std::{isnan, isinf}`in https://github.com/llvm/llvm-project/pull/98952 as it seems to be broken due to the usage of `_LIBCPP_PREFERRED_OVERLOAD`. 

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


More information about the libcxx-commits mailing list