| 4647 | // but I don't expect users to run into that in practice. |
| 4648 | template <typename T> |
| 4649 | typename std::enable_if<std::is_integral<T>::value && !std::is_same<T, bool>::value, |
| 4650 | GeneratorWrapper<T>>::type |
| 4651 | random(T a, T b) { |
| 4652 | return GeneratorWrapper<T>( |
| 4653 | pf::make_unique<RandomIntegerGenerator<T>>(a, b) |
| 4654 | ); |
| 4655 | } |
| 4656 | |
| 4657 | template <typename T> |
| 4658 | typename std::enable_if<std::is_floating_point<T>::value, |
no outgoing calls
no test coverage detected