[PATCH] D25418: [ADT] Add make_pointe{e,r}_iterator.

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 10 11:32:32 PDT 2016


(such a range adapter might be called "dereference" or "address_of" though
they might be too generic (be good to find more verby names to go along
with "reverse", "zip", and the rest - rather than "make_foo_range"))

On Mon, Oct 10, 2016 at 11:31 AM David Blaikie <dblaikie at gmail.com> wrote:

> Do you have a use case for this that wouldn't be better off with a
> "make_pointe{e,r}_range"? (perhaps we can skip the make_*_iterator if we
> don't need them, and go straight to ranges if possible?)
>
> On Sun, Oct 9, 2016 at 10:20 PM Justin Lebar via llvm-commits <
> llvm-commits at lists.llvm.org> wrote:
>
> jlebar created this revision.
> jlebar added a reviewer: timshen.
> jlebar added a subscriber: llvm-commits.
>
> https://reviews.llvm.org/D25418
>
> Files:
>   llvm/include/llvm/ADT/iterator.h
>   llvm/unittests/ADT/IteratorTest.cpp
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161010/c7e95c8e/attachment.html>


More information about the llvm-commits mailing list