Template to create a type and instantiate it

Marco Leise via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Feb 5 22:39:27 PST 2016


Mixin templates is the way to go if you want something new on
every use of the template. Otherwise using the template
multiple times with the same arguments will always give you
the first instance.

-- 
Marco



More information about the Digitalmars-d-learn mailing list