5 #ifndef BPP_NUMERIC_INTEGERTOOLS_H 6 #define BPP_NUMERIC_INTEGERTOOLS_H 14 namespace IntegerTools
20 static_assert (std::is_integral<T>::value,
"T must be an integral type");
28 static_assert (std::is_integral<T>::value,
"T must be an integral type");
36 static_assert (std::is_integral<T>::value,
"T must be an integral type");
44 static_assert (std::is_integral<T>::value,
"T must be an integral type");
45 return divisor *
divideUp(n, divisor);
49 #endif // BPP_NUMERIC_INTEGERTOOLS_H