| 18608 | // templates to avoid warnings about useless casts |
| 18609 | template <typename NumberType, enable_if_t<std::is_signed<NumberType>::value, int> = 0> |
| 18610 | bool is_negative_number(NumberType x) |
| 18611 | { |
| 18612 | return x < 0; |
| 18613 | } |
| 18614 | |
| 18615 | template < typename NumberType, enable_if_t <std::is_unsigned<NumberType>::value, int > = 0 > |
| 18616 | bool is_negative_number(NumberType /*unused*/) |