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

Chris Lattner clattner at apple.com
Fri Aug 3 11:33:53 PDT 2012


On Aug 3, 2012, at 2:46 AM, Chandler Carruth <chandlerc at gmail.com> wrote:

> 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.

I don't really see what this is doing, can you give an example use-case?

-Chris




More information about the llvm-commits mailing list