mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-09 13:41:47 +00:00
STLExtras: Fix enumerate() documentation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302467 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a086b24688
commit
ca58fab8c4
@ -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
Block a user