[llvm-commits] PATCH: Add an indexed iterator utility to the ADT library, and expose it for SmallVector

Chandler Carruth chandlerc at gmail.com
Fri Aug 3 02:46:06 PDT 2012


Hello!

This adds a handy little iterator wrapper I ended up wanting when writing
several algorithms that build up and transform data stored in a SmallVector
(or any vector-like container). I'm still writing a basic test of the
functionality, but wanted to get any feedback on the idea and rough patch.

More details about the semantics and use case are in the comments in the
patch.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120803/884b2a67/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: indexed_iterator.patch
Type: application/octet-stream
Size: 8314 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120803/884b2a67/attachment.obj>


More information about the llvm-commits mailing list