Why can't we derive struct's?

H. S. Teoh hsteoh at quickfur.ath.cx
Fri Dec 21 22:43:29 UTC 2018

On Fri, Dec 21, 2018 at 01:46:45PM -0800, Walter Bright via Digitalmars-d wrote:
> On 12/21/2018 11:08 AM, Steven Schveighoffer wrote:
> > But MI is not multiple alias-this.
> It fundamentally is. (Though I agree it doesn't have the virtual base
> "diamond inheritance" issue.)

It doesn't have to be.  It can be treated as imports: if there's any
question about what a symbol should resolve to, emit an ambiguity error.


It won't be covered in the book. The source code has to be useful for something, after all. -- Larry Wall

More information about the Digitalmars-d mailing list