[PATCH] D23252: [ADT] Extra STLExtras

bryant via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 7 20:38:28 PDT 2016


bryant created this revision.
bryant added reviewers: joker-eph, llvm-commits, mehdi_amini.
bryant set the repository for this revision to rL LLVM.

As discussed with jokereph over IRC a few weeks ago, this augments the STLExtras toolset with a zip iterator and ranged version of std::copy/copy_if. The zip iterator comes in two varieties: `zip`, which will zip to the shortest of the input ranges, and `zip_first`, which limits its `begin() == end()` checks to just the first range.

Repository:
  rL LLVM

https://reviews.llvm.org/D23252

Files:
  include/llvm/ADT/STLExtras.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23252.67114.patch
Type: text/x-patch
Size: 4865 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160808/10eb065a/attachment-0001.bin>


More information about the llvm-commits mailing list