[PATCH] D48348: [ADT] Add zip_longest iterators.
David Blaikie via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 25 16:21:32 PDT 2018
dblaikie added a comment.
Idle thought: Could/should this be composed from other primitives that could be created. Such as an infinitely long (or maybe bounded, not sure) range built from another range and a functor of some kind? (or such a thing specifically tailored for Optional-or-default-T situations) & then zip two of those together & bound that resulting infinitely long range (or bound the input ranges, either way).
Maybe that's overgeneralization, but just an idea to see how others feel about it.
Repository:
rL LLVM
https://reviews.llvm.org/D48348
More information about the llvm-commits
mailing list