Silence NVCC warning in has_isfinite
This commit is contained in:
parent
e7f6888c7a
commit
c47a81c367
@ -2802,7 +2802,7 @@ template <typename T, typename Enable = void>
|
||||
struct has_isfinite : std::false_type {};
|
||||
|
||||
template <typename T>
|
||||
struct has_isfinite<T, enable_if_t<sizeof(std::isfinite(T())) != 0>>
|
||||
struct has_isfinite<T, void_t<decltype(std::isfinite(T()))>>
|
||||
: std::true_type {};
|
||||
|
||||
template <typename T, FMT_ENABLE_IF(std::is_floating_point<T>::value&&
|
||||
|
||||
Loading…
Reference in New Issue
Block a user