forked from OSchip/llvm-project
STLExtras: Fix enumerate() documentation
llvm-svn: 302467
This commit is contained in:
parent
5404f114d3
commit
d0c4676f39
|
@ -1079,7 +1079,7 @@ private:
|
|||
///
|
||||
/// std::vector<char> Items = {'A', 'B', 'C', 'D'};
|
||||
/// for (auto X : enumerate(Items)) {
|
||||
/// printf("Item %d - %c\n", X.Index, X.Value);
|
||||
/// printf("Item %d - %c\n", X.index(), X.value());
|
||||
/// }
|
||||
///
|
||||
/// Output:
|
||||
|
|
Loading…
Reference in New Issue