How to require operator overloading in interface
    Jesse Phillips 
    Jesse.K.Phillips+D at gmail.com
       
    Sat Jul 20 12:04:27 PDT 2013
    
    
  
On Saturday, 20 July 2013 at 18:53:44 UTC, JS wrote:
> if they want to allow the same op in there class, which they 
> probably do, they have to override the long hand anyways and 
> redirect.
Nope, that is why you make the template final and forwards, all 
derived classes will be able to instantiate the template and 
behavior will be overridden by the forwarded function.
    
    
More information about the Digitalmars-d-learn
mailing list