[PATCH] D30853: Improve the genericity of `llvm::enumerate()`.
bryant via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 11 11:03:14 PST 2017
bryant added inline comments.
================
Comment at: llvm/include/llvm/ADT/STLExtras.h:1024
+ typename std::iterator_traits<IterOfRange<R>>::pointer,
+ typename std::iterator_traits<IterOfRange<R>>::reference> {
+ using result_type = result_pair<R>;
----------------
can iterator_adaptor_base be used for this? it looks like its default template params fit.
https://reviews.llvm.org/D30853
More information about the llvm-commits
mailing list