| 4545 | |
| 4546 | template <typename T> |
| 4547 | GeneratorWrapper<T> range(T const& start, T const& end, T const& step) { |
| 4548 | static_assert(std::is_integral<T>::value && !std::is_same<T, bool>::value, "Type must be an integer"); |
| 4549 | return GeneratorWrapper<T>(pf::make_unique<RangeGenerator<T>>(start, end, step)); |
| 4550 | } |
| 4551 | |
| 4552 | template <typename T> |
| 4553 | GeneratorWrapper<T> range(T const& start, T const& end) { |
no outgoing calls
no test coverage detected