| 239 | |
| 240 | template<class T> |
| 241 | typename std::enable_if<std::is_floating_point<T>::value, T>::type |
| 242 | random_value(std::mt19937 & gen) |
| 243 | { return std::uniform_real_distribution<T>(-10000.0, 10000.0)(gen); } |
| 244 | |
| 245 | template<class T> |
| 246 | typename std::enable_if<std::is_integral<T>::value && sizeof(T) != sizeof(char), T>::type |
nothing calls this directly
no outgoing calls
no test coverage detected