When the goal is only to encapsulate names, namespaces are preferred over classes.
Reference: The C++ Programming Language by Bjarne Stroustrup. Addison-Wesley, 2000. Section:C.10.3
Saturday, November 27, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment