mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-29 13:32:33 +00:00
Clarify example snippets a bit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143224 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b3727fe3ec
commit
087f050bf9
@ -998,7 +998,7 @@ vector is also useful when interfacing with code that expects vectors :).
|
||||
<pre>
|
||||
for ( ... ) {
|
||||
std::vector<foo> V;
|
||||
use V;
|
||||
// make use of V.
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
@ -1009,7 +1009,7 @@ for ( ... ) {
|
||||
<pre>
|
||||
std::vector<foo> V;
|
||||
for ( ... ) {
|
||||
use V;
|
||||
// make use of V.
|
||||
V.clear();
|
||||
}
|
||||
</pre>
|
||||
|
Loading…
x
Reference in New Issue
Block a user