When functions are not defined in the class declaration, default arguments are specified in the function declaration; and not in the definition. The default objects are constructed in the definition.
Reference: More Exceptional C++ by Herb Sutter. Addison-Wesley, 2002, p. 137.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment