STLExtras.h | 199 // mapped_iterator - This is a simple iterator adapter that causes a function to 203 class mapped_iterator { class in namespace:llvm 218 typedef mapped_iterator<RootIt, UnaryFunc> _Self; 223 inline explicit mapped_iterator(const RootIt &I, UnaryFunc F) function in class:llvm::mapped_iterator 254 inline mapped_iterator<_Iterator, Func> 255 operator+(typename mapped_iterator<_Iterator, Func>::difference_type N, 256 const mapped_iterator<_Iterator, Func>& X) { 257 return mapped_iterator<_Iterator, Func>(X.getCurrent() - N, X.getFunc()); 265 inline mapped_iterator<ItTy, FuncTy> map_iterator(const ItTy &I, FuncTy F) { 266 return mapped_iterator<ItTy, FuncTy>(I, F) [all...] |