forked from OSchip/llvm-project
parent
2ba38c8711
commit
3d9c1bd9e2
|
@ -803,7 +803,7 @@ vector is also useful when interfacing with code that expects vectors :).
|
|||
<div class="doc_code">
|
||||
<pre>
|
||||
for ( ... ) {
|
||||
std::vector<foo> V;
|
||||
std::vector<foo> V;
|
||||
use V;
|
||||
}
|
||||
</pre>
|
||||
|
@ -813,7 +813,7 @@ for ( ... ) {
|
|||
|
||||
<div class="doc_code">
|
||||
<pre>
|
||||
std::vector<foo> V;
|
||||
std::vector<foo> V;
|
||||
for ( ... ) {
|
||||
use V;
|
||||
V.clear();
|
||||
|
|
Loading…
Reference in New Issue