www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Who on earth knows how???...

reply Arlen Albert Keshabyan <arlen.albert gmail.com> writes:
Beg a pardon.
Recently, I've posted the subject to discuss about multiple inheritance
simulation in D. None answers followed. But I still need the feature to
simulate. Has anybody good news to share?
Nov 30 2006
next sibling parent reply Sean Kelly <sean f4.ca> writes:
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Arlen Albert Keshabyan wrote:
 Beg a pardon.
 Recently, I've posted the subject to discuss about multiple inheritance
 simulation in D. None answers followed. But I still need the feature to
 simulate. Has anybody good news to share?

I've experimented with this in the past and encountered pretty much the same problems you did. Here is some old code of mine that applies. It's an experimental rewrite of std.stream--do a search for FStream for the best example. Sean
Nov 30 2006
parent Arlen Albert Keshabyan <arlen.albert gmail.com> writes:
Thank you, Sean.
I'll definitely took a look at your code.
:)
Nov 30 2006
prev sibling parent reply Charlie <charlies nowhere.com> writes:
I think you can also use templates, ala 
http://www.dsource.org/projects/tutorials/wiki/MultipleInheritanceWithTe
plateBoltInsExample 


Charlie

Arlen Albert Keshabyan wrote:
 Beg a pardon.
 Recently, I've posted the subject to discuss about multiple inheritance
 simulation in D. None answers followed. But I still need the feature to
 simulate. Has anybody good news to share?

Nov 30 2006
next sibling parent Arlen Albert Keshabyan <arlen.albert gmail.com> writes:
== Quote from Charlie (charlies nowhere.com)'s article
 I think you can also use templates, ala

 Charlie
 Arlen Albert Keshabyan wrote:
 Beg a pardon.
 Recently, I've posted the subject to discuss about multiple inheritance
 simulation in D. None answers followed. But I still need the feature to
 simulate. Has anybody good news to share?


Thank you Charlie! :) That's what I need!
Nov 30 2006
prev sibling parent reply Hasan Aljudy <hasan.aljudy gmail.com> writes:
Charlie wrote:
 I think you can also use templates, ala 
 http://www.dsource.org/projects/tutorials/wiki/MultipleInheritanceWithTe
plateBoltInsExample 

Completely off-topic, sorry, but I've always wondered what does "ala" mean?!!!
Nov 30 2006
parent reply Kirk McDonald <kirklin.mcdonald gmail.com> writes:
Hasan Aljudy wrote:
 
 Charlie wrote:
 I think you can also use templates, ala 
 http://www.dsource.org/projects/tutorials/wiki/MultipleInheritanceWithTe
plateBoltInsExample 

Completely off-topic, sorry, but I've always wondered what does "ala" mean?!!!

The Internet is your friend: http://en.wiktionary.org/wiki/a_la a la, less commonly à la 1. In the style or manner of. -- Kirk McDonald Pyd: Wrapping Python with D http://pyd.dsource.org
Nov 30 2006
parent reply renoX <renosky free.fr> writes:
Kirk McDonald a écrit :
 Hasan Aljudy wrote:
 Charlie wrote:
 I think you can also use templates, ala 
 http://www.dsource.org/projects/tutorials/wiki/MultipleInheritanceWithTe
plateBoltInsExample 

Completely off-topic, sorry, but I've always wondered what does "ala" mean?!!!

The Internet is your friend: http://en.wiktionary.org/wiki/a_la a la, less commonly à la 1. In the style or manner of.

What the wiktionary doesn't tell is that this comes originally from French language hence the accent on the a: "à la". renoX
Dec 01 2006
parent Kirk McDonald <kirklin.mcdonald gmail.com> writes:
renoX wrote:
 Kirk McDonald a écrit :
 Hasan Aljudy wrote:
 Charlie wrote:
 I think you can also use templates, ala 
 http://www.dsource.org/projects/tutorials/wiki/MultipleInheritanceWithTe
plateBoltInsExample 

Completely off-topic, sorry, but I've always wondered what does "ala" mean?!!!

The Internet is your friend: http://en.wiktionary.org/wiki/a_la a la, less commonly à la 1. In the style or manner of.

What the wiktionary doesn't tell is that this comes originally from French language hence the accent on the a: "à la". renoX

Sure it does, right under "etymology." See also: http://en.wiktionary.org/wiki/%C3%A0_la -- Kirk McDonald Pyd: Wrapping Python with D http://pyd.dsource.org
Dec 01 2006