diff --git a/cppguide.html b/cppguide.html index 507404d..4956a67 100644 --- a/cppguide.html +++ b/cppguide.html @@ -819,8 +819,8 @@ for (int i = 0; i < 1000000; ++i) { } -
It may be more efficient to declare such a variable -(which is used in a loop) outside that loop:
+It may be more efficient to declare such variables +outside the loop, as in:
Foo f; // My ctor and dtor get called once each. for (int i = 0; i < 1000000; ++i) {