Mixin template function
cal
callumenator at gmail.com
Wed Feb 13 23:55:22 PST 2013
On Thursday, 14 February 2013 at 07:40:58 UTC, Jacob Carlborg
wrote:
> This is by design. Foo and A have different overload sets. Try:
>
> alias Foo.foo foo;
>
> http://dlang.org/template-mixin.html
>
> Search for: "Mixin Scope" and pay attention to:
>
> "Alias declarations can be used to overload together functions
> declared in different mixins".
Ahh this is what I was missing, many thanks.
More information about the Digitalmars-d-learn
mailing list