[PATCH] D64997: [ADT] Add public iterator and const_iterator types to iterator_range

Alex Brachet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 19 08:25:18 PDT 2019


abrachet added a comment.

Defining iterator and const_iterator allows it to be used specifically for my use case in D64462 <https://reviews.llvm.org/D64462> but also in other types I'm sure. Notably many function templates in iterator will not work, std::begin and std::end need one of these types to be publicly defined for example, but one would expect these function templates to work with llvm::iterator_range.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64997/new/

https://reviews.llvm.org/D64997





More information about the llvm-commits mailing list