| 739 | // Same as `value < 0` but doesn't produce warnings if T is an unsigned type. |
| 740 | template <typename T, FMT_ENABLE_IF(std::numeric_limits<T>::is_signed)> |
| 741 | FMT_CONSTEXPR bool is_negative(T value) { |
| 742 | return value < 0; |
| 743 | } |
| 744 | template <typename T, FMT_ENABLE_IF(!std::numeric_limits<T>::is_signed)> |
| 745 | FMT_CONSTEXPR bool is_negative(T) { |
| 746 | return false; |
no outgoing calls
no test coverage detected