Why can't we derive struct's?

Timon Gehr timon.gehr at gmx.ch
Fri Dec 21 03:21:14 UTC 2018

On 20.12.18 17:10, H. S. Teoh wrote:
> IIRC, that PR was blocked because of disagreements over how ambiguous
> symbols over multiple alias this types would be resolved.  Somebody
> needs to come up with a DIP with well-defined semantics for all the
> details and corner cases before this can move forward.

But it's a solved problem. Just make `alias this` exactly like `import`.

More information about the Digitalmars-d mailing list