| 365 | /// \brief Construct an Iterator which invokes a callable on Next() |
| 366 | template <typename Fn, typename Ret = typename std::invoke_result_t<Fn&>::ValueType> |
| 367 | Iterator<Ret> MakeFunctionIterator(Fn fn) { |
| 368 | return Iterator<Ret>(FunctionIterator<Fn, Ret>(std::move(fn))); |
| 369 | } |
| 370 | |
| 371 | template <typename T> |
| 372 | Iterator<T> MakeEmptyIterator() { |
no outgoing calls