This is wrong:
if (x == 3) { x += 4; } | This is correct:
if (x == 3) { x += 4; } |
namespace foo { // FIXME: Add 500 lines here. } // namespace foo
But SHOULD NOT state the obvious.
try
or a do
on the same line. This code is correct:
int foo () { int c = 0; int r = 0; do { try { r = bar (++c); } catch (...) { r = 0; } } while (c < 42 && !r); return r; }