Templated Inheritance
    Jesse Phillips 
    jessekphillips at gmail.com
       
    Sun Mar  2 16:30:00 PST 2008
    
    
  
Templates, traits, mixins, and meta programming I haven't really gotten 
into. But I came to note that templating inheritance of a class works 
great.
http://dsource.org/projects/tutorials/wiki/TemplatedInheritanceExample
My question is what others think about the possibility of using traits 
from D2.0 to allow for interface instantiation without reimplementing 
methods? I don't know how practical it would be but it might be quite 
interesting.
    
    
More information about the Digitalmars-d-learn
mailing list