Saturday, November 27, 2010

File Scope

The use of static for meaning file scope is deprecated in C++. The unnamed namespace should be used instead.

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

No comments:

Post a Comment