| 483 | // comparison is always true due to limited range of data type. |
| 484 | template<typename T> |
| 485 | inline bool IsOutRange(const T &v, const T &low, const T &high) { |
| 486 | return (v < low) || (high < v); |
| 487 | } |
| 488 | |
| 489 | // Check 'v' is in closed range [low; high]. |
| 490 | template<typename T> |