[llvm-commits] [PATCH] [ADT] Add poly_iterator. A polymorphic iterator.
Michael Spencer
bigcheesegs at gmail.com
Sun Jan 20 21:45:29 PST 2013
Hi chandlerc,
This class allows polymorphically accepting any iterator type with a specific value_type and compatible iterator_category at runtime.
The main purpose for this is cleaning up the Object interface by getting rid of DataRefImpl.
http://llvm-reviews.chandlerc.com/D314
Files:
include/llvm/ADT/PolyIterator.h
unittests/ADT/CMakeLists.txt
unittests/ADT/PolyIteratorTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D314.1.patch
Type: text/x-patch
Size: 11807 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130120/259a780a/attachment.bin>
More information about the llvm-commits
mailing list