| 4184 | |
| 4185 | template <typename Func, typename U, typename T = MapFunctionReturnType<Func, U>> |
| 4186 | GeneratorWrapper<T> map(Func&& function, GeneratorWrapper<U>&& generator) { |
| 4187 | return GeneratorWrapper<T>( |
| 4188 | pf::make_unique<MapGenerator<T, U, Func>>(std::forward<Func>(function), std::move(generator)) |
| 4189 | ); |
| 4190 | } |
| 4191 | |
| 4192 | template <typename T, typename U, typename Func> |
| 4193 | GeneratorWrapper<T> map(Func&& function, GeneratorWrapper<U>&& generator) { |