Simplified further

This commit is contained in:
BearLin 2016-03-09 00:05:44 +08:00
parent d99f707392
commit 97544a0b81

View File

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