Overview

Functions as a template class with template parameter T. It is used to check whether an integer is within the valid range of the specified data type T.

Header Files to Be Included

1
#include <extern_math_util.h>

Public Member Functions

1
2
3
4
5
6
7
8
template<typename T>
class IntegerChecker {
 public:
  template<typename T1>
  static bool Compat(const T1 v) {
  // Implementation details
  }
};