Could we just do this as a range API without begin/end? Or maybe ArrayRef<>? It'd be helpful to see the use case to know what a good design is here. http://reviews.llvm.org/D6241