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
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment