what is the difference between template and mixin template

Zhenya zheny at list.ru
Sun Jun 10 10:45:44 PDT 2012


On Sunday, 10 June 2012 at 17:34:19 UTC, Zhenya wrote:
> I read in documentation,that we have two ways to use mixin 
> statement.
> 1st: mixin(string_wich_can_be_evaluated_at_compile_time);
> 2st:mixin template
> I could'nt find any information about such way to use it

Also,in this case if we add "mixin" before template nothing will 
change.
So I would be grateful if you gave me some example,that help me 
see the difference,becouse now I think that mixin templates is 
subset of regular templates


More information about the Digitalmars-d-learn mailing list