Wednesday, October 13, 2010

Default Objects

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.

No comments:

Post a Comment