Simulating Multiple Inheritance

Jonathan M Davis jmdavisProg at gmx.com
Thu Oct 28 16:41:18 PDT 2010


On Thursday, October 28, 2010 15:46:23 Jesse Phillips wrote:
> Jimmy Cao Wrote:
> > Well, you can't have multiple alias this's right?
> > 
> > So then, wouldn't it still only limit to 2 base classes?
> > 
> > Well, you can't have multiple alias this's right?<div><br></div><div>So
> > then, wouldn't it still only limit to 2 base classes?</div>
> 
> This is an issue with the implementation, the language allows for as many
> alias this as you wish.

Yeah. TDPL specifically says that you can have multiple alias this's (in the 
section on this exact topic too, IIRC), so it's on the list of things that TDPL 
says and D that dmd hasn't correctly implemented yet.

- Jonathan M Davis


More information about the Digitalmars-d mailing list