| 18570 | // templates to avoid warnings about useless casts |
| 18571 | template <typename NumberType, enable_if_t<std::is_signed<NumberType>::value, int> = 0> |
| 18572 | bool is_negative_number(NumberType x) |
| 18573 | { |
| 18574 | return x < 0; |
| 18575 | } |
| 18576 | |
| 18577 | template < typename NumberType, enable_if_t <std::is_unsigned<NumberType>::value, int > = 0 > |
| 18578 | bool is_negative_number(NumberType /*unused*/) |