mixin template had error by calling shared function
Dan Olson via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Dec 11 09:04:39 PST 2014
Here is a way that will work.
"Vlasov Roman" <vlasovroman.ru at yandex.ru> writes:
> I have this code
>
> mixin template Template(void function() func1, void function() func2)
mixin template Template(alias func1, alias func2)
> class SomeClass {
> mixin Template!(&func, &func23);
mixin Template!(func, func23);
--
dano
More information about the Digitalmars-d-learn
mailing list