| commit | 332e6e5ae55d4d6d377aa5bdfc49162e0d0c6dce | [log] [tgz] |
|---|---|---|
| author | Bryant Wong <llvm-commits@xorshift.org> | Thu Feb 23 23:00:46 2017 +0000 |
| committer | Bryant Wong <llvm-commits@xorshift.org> | Thu Feb 23 23:00:46 2017 +0000 |
| tree | 47b2573fc80decce57dd7fd3c68dc854b8ae6890 | |
| parent | aa722ae84c258b069db2009670e3dfb13f356de6 [diff] |
[ADT] Fix zip iterator interface.
This commit provides `zip_{first,shortest}` with the standard member types and
methods expected of iterators (e.g., `difference_type`), in order for zip to be
used with other adaptors, such as `make_filter_range`.
Support for reverse iteration has also been added.
Differential Revision: https://reviews.llvm.org/D30246
llvm-svn: 296036