do if typeid sizeof case catch switch template for throw while try
This is wrong:
if(x == 3)
foo3();
|
This is correct:
if (x == 3)
foo3 ();
|
template<> for explicit
specializations.
template<>
class Foo<int>
{
...
};
for construct MAY be empty.
Note that more often than not, the while construct better
represents the loop resulting from a for with an empty initial
part.
These are wrong:
for (;;) ;
for ( ; ; ) ;
| This is correct:
for (;;)
;
|
This is wrong:
for (len = 0; *str; ++len, ++str);
|
These are correct:
for (len = 0; *str; ++len, ++str)
;
|