[Issue 3666] Enhancement Request: Mixin Templates

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Oct 22 00:03:12 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=3666


Jacob Carlborg <doob at me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |doob at me.com


--- Comment #3 from Jacob Carlborg <doob at me.com> 2012-10-22 00:03:07 PDT ---
These are still valid ideas and D did had templates back in 2010. Half of the
proposal is already implemented, you can prefix a template declaration with
"mixin". When a template is prefix with "mixin" you cannot use it like a
regular template. But you still need the "mixin" keyword when mixing in the
template.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list