www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - D mixins

reply janderson <askme me.com> writes:
I'm trying to explain to a friend on msn what mixins are.  Can you 
provide some good examples, what would be difficult otherwise?

-Joel
Jan 03 2007
parent David Medlock <noone nowhere.com> writes:
janderson wrote:
 I'm trying to explain to a friend on msn what mixins are.  Can you 
 provide some good examples, what would be difficult otherwise?
 
 -Joel
You could try my handy templates I posted a while back to auto-matically expose any array/AA in a class: http://www.digitalmars.com/d/archives/digitalmars/D/learn/4504.html Cheers. DavidM
Jan 04 2007