Align comment block (#1162)

This commit is contained in:
nnaka 2018-03-11 09:35:09 -04:00 committed by Jonathan Wakely
parent 9c4d4247b1
commit 09035eb1e4

View File

@ -10514,7 +10514,7 @@ It nicely encapsulates local initialization, including cleaning up scratch varia
##### Example, bad ##### Example, bad
widget x; // should be const, but: widget x; // should be const, but:
for (auto i = 2; i <= N; ++i) { // this could be some for (auto i = 2; i <= N; ++i) { // this could be some
x += some_obj.do_something_with(i); // arbitrarily long code x += some_obj.do_something_with(i); // arbitrarily long code
} // needed to initialize x } // needed to initialize x
// from here, x should be const, but we can't say so in code in this style // from here, x should be const, but we can't say so in code in this style