| 4588 | // but I don't expect users to run into that in practice. |
| 4589 | template <typename T> |
| 4590 | typename std::enable_if<std::is_integral<T>::value && !std::is_same<T, bool>::value, |
| 4591 | GeneratorWrapper<T>>::type |
| 4592 | random(T a, T b) { |
| 4593 | return GeneratorWrapper<T>( |
| 4594 | pf::make_unique<RandomIntegerGenerator<T>>(a, b) |
| 4595 | ); |
| 4596 | } |
| 4597 | |
| 4598 | template <typename T> |
| 4599 | typename std::enable_if<std::is_floating_point<T>::value, |
nothing calls this directly
no outgoing calls
no test coverage detected