]> granicus.if.org Git - llvm/commitdiff
Clarify a comment about mapped_iterator. NFC
authorJonathan Roelofs <jonathan@codesourcery.com>
Thu, 16 Mar 2017 20:37:59 +0000 (20:37 +0000)
committerJonathan Roelofs <jonathan@codesourcery.com>
Thu, 16 Mar 2017 20:37:59 +0000 (20:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297988 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ADT/STLExtras.h

index 6f54b5ef0ed9cecb8e6f023f12a54461766242be..038f0717674b9d6a4dcdf4d3ced3a7175437a687 100644 (file)
@@ -129,7 +129,7 @@ inline void deleter(T *Ptr) {
 //===----------------------------------------------------------------------===//
 
 // mapped_iterator - This is a simple iterator adapter that causes a function to
-// be dereferenced whenever operator* is invoked on the iterator.
+// be applied whenever operator* is invoked on the iterator.
 //
 template <class RootIt, class UnaryFunc>
 class mapped_iterator {