Template mixins and struct constructors
Adam D. Ruppe via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Mar 2 12:39:57 PST 2016
On Wednesday, 2 March 2016 at 12:27:04 UTC, Adrian Matoga wrote:
> Is it by design or is it a bug?
> And, if it is by design, what is the reason for that?
That's by design. It allows you to override names from a template
mixin like inheritance but no runtime cost.
Read my tip of the week here to see how it works and how you can
combine ctors from a mixin:
http://arsdnet.net/this-week-in-d/2016-feb-07.html
More information about the Digitalmars-d-learn
mailing list