Rephrase the last paragraph in Local Variables section of cppguide.html to make it more clear

This commit is contained in:
BearLin 2016-03-08 21:10:40 +08:00
parent 8c09ccf840
commit d99f707392

View File

@ -820,7 +820,7 @@ for (int i = 0; i < 1000000; ++i) {
</pre>
<p>It may be more efficient to declare such a variable
used in a loop outside that loop:</p>
(which is used in a loop) outside that loop:</p>
<pre>Foo f; // My ctor and dtor get called once each.
for (int i = 0; i &lt; 1000000; ++i) {