[PATCH] D30246: [ADT] Fix zip iterator interface.

bryant via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 22 01:33:58 PST 2017


bryant created this revision.

This patch:

- Ensures that `zip_first`/`zip_shortest` inherit from the `iterator_facade_base` (which it should);
- marks `zippy::begin`/`::end` const;
- and ensures that zip plays well with `make_filter_range`.


Repository:
  rL LLVM

https://reviews.llvm.org/D30246

Files:
  include/llvm/ADT/STLExtras.h
  unittests/ADT/IteratorTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30246.89336.patch
Type: text/x-patch
Size: 7069 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170222/deac5d43/attachment.bin>


More information about the llvm-commits mailing list