Tuesday, November 9, 2010

Virtual Functions with Default Arguments

In general, when a virtual function has a default argument specified, all overridden versions should have the same default value.

Otherwise, you may cause confusion and delay.

Reference: http://www.aristeia.com/ddjpaper1.html

No comments:

Post a Comment