"Mixin is not defined" error when trying to use template mixins
solidstate1991
laszloszeremi at outlook.com
Sun Oct 27 23:54:41 UTC 2019
There's a template mixin in my dimage project's new version in
base.d, and when I try to access it from another file I get two
errors:
undefined identifier `ChunkyAccess4bit`, did you mean template
`ChunkyAccess4Bit()`?
and
mixin `dimage.tga.TGA.ChunkyAccess4bit!()` is not defined
Should I put the template into the base class of TGA (Image)
instead of keeping it outside of that?
More information about the Digitalmars-d-learn
mailing list