| 99 | } |
| 100 | } |
| 101 | constexpr static T DefaultMax() { |
| 102 | if constexpr (std::is_floating_point_v<T>) { |
| 103 | return -std::numeric_limits<T>::infinity(); |
| 104 | } else { |
| 105 | return std::numeric_limits<T>::lowest(); |
| 106 | } |
| 107 | } |
| 108 | |
| 109 | // MSVC17 fix, isnan is not overloaded for IntegralType as per C++11 |
| 110 | // standard requirements. |
nothing calls this directly
no outgoing calls
no test coverage detected