[PATCH] D138858: [ADT] Clarify `zip` behavior with iteratees of different lengths. NFC.

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 28 16:04:07 PST 2022


dblaikie added inline comments.


================
Comment at: llvm/include/llvm/ADT/STLExtras.h:882-884
 /// zip iterator that, for the sake of efficiency, assumes the first iteratee to
-/// be the shortest.
+/// be the shortest. Iteration continues until the end of the first iteratee is
+/// reached.
----------------
Worth mentioning what values are used to fill in if the second iteratee isn't long enough?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138858/new/

https://reviews.llvm.org/D138858



More information about the llvm-commits mailing list