Friday, November 26, 2010

Declarations

Not all declarations are terminated by a semi-colon.
namespaces and function definitions don't use a semi-colon in the declaration.

Reference: The C++ Programming Language by Bjarne Stroustrup. Addison-Wesley, 2000. Section: 4.9.1

No comments:

Post a Comment