mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 06:30:16 +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>
|
<pre>
|
||||||
for ( ... ) {
|
for ( ... ) {
|
||||||
std::vector<foo> V;
|
std::vector<foo> V;
|
||||||
use V;
|
// make use of V.
|
||||||
}
|
}
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
@ -1009,7 +1009,7 @@ for ( ... ) {
|
|||||||
<pre>
|
<pre>
|
||||||
std::vector<foo> V;
|
std::vector<foo> V;
|
||||||
for ( ... ) {
|
for ( ... ) {
|
||||||
use V;
|
// make use of V.
|
||||||
V.clear();
|
V.clear();
|
||||||
}
|
}
|
||||||
</pre>
|
</pre>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user