how to fix such a hijacking problem in D ?

z_axis z_axis at 163.com
Tue Dec 18 05:03:51 PST 2007


thanks for all your answer !
i really donot understand the following sentences from  
http://www.digitalmars.com/d/hijack.html

The D solution is straightforward. If a function in a derived class  
overrides a function in a base class, it must
use the storage class override. If it overrides without using the override  
storage class it's an error.
If it uses the override storage class without overriding anything, it's an  
error.

regards!


More information about the Digitalmars-d-learn mailing list