In C++ classes, why the semi-colon after the closing brace? I regularly forget it and get compiler errors, and hence lost time. Seems somewhat superfluous to me, which is un
It is needed after a struct for compatibility reasons, and how would you like this:
struct
struct MyStruct { ... }; class MyClass { ... } //inconsistency