Mixin template, "no identifier for declarator"

SimonN via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Oct 27 04:55:26 PDT 2015


On Tuesday, 27 October 2015 at 08:41:24 UTC, Andrea Fontana wrote:
> Template mixins can be used only for declaration.

Thanks for the quick reply! I didn't know that. Now the error 
message makes sense.

> Probably what you need is a (non-template) mixin.

Yes, it's gonna be a string mixin, or a private method with lots 
of ref parameters.

-- Simon


More information about the Digitalmars-d-learn mailing list