| 576 | class INPUT_IT, |
| 577 | class> |
| 578 | auto |
| 579 | ICoroContext<RET>::mapReduceBatch(INPUT_IT first, |
| 580 | INPUT_IT last, |
| 581 | MAPPER_FUNC mapper, |
| 582 | REDUCER_FUNC reducer)-> |
| 583 | CoroContextPtr<std::map<decltype(mappedKeyOf(mapper)), decltype(reducedTypeOf(reducer))>> |
| 584 | { |
| 585 | using Key = decltype(mappedKeyOf(mapper)); |
| 586 | using MappedType = decltype(mappedTypeOf(mapper)); |
| 587 | using ReducedType = decltype(reducedTypeOf(reducer)); |
| 588 | return static_cast<Impl*>(this)->template mapReduceBatch<Key, MappedType, ReducedType> |
| 589 | (first, last, std::move(mapper), std::move(reducer)); |
| 590 | } |
| 591 | |
| 592 | template <class RET> |
| 593 | template <class KEY, |