STLExtras: Fix enumerate() documentation

llvm-svn: 302467
This commit is contained in:
Matthias Braun 2017-05-08 21:10:58 +00:00
parent 5404f114d3
commit d0c4676f39
1 changed files with 1 additions and 1 deletions

View File

@ -1079,7 +1079,7 @@ private:
/// ///
/// std::vector<char> Items = {'A', 'B', 'C', 'D'}; /// std::vector<char> Items = {'A', 'B', 'C', 'D'};
/// for (auto X : enumerate(Items)) { /// for (auto X : enumerate(Items)) {
/// printf("Item %d - %c\n", X.Index, X.Value); /// printf("Item %d - %c\n", X.index(), X.value());
/// } /// }
/// ///
/// Output: /// Output: