[Issue 8785] feature request: static mixin
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jan 26 15:16:23 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=8785
Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrej.mitrovich at gmail.com
--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-01-26 15:16:21 PST ---
What this would basically do is introduce namespaces into the language, as 't1'
would be some kind of pseudo-type which has access to its parent, but it itself
wouldn't be a template (since it doesn't require !()), and it wouldn't be an
aggregate.
Not that there's anything wrong with that. :)
Anyway for the longest time I actually thought "mixin myTemplate t1" means the
symbols are only accessible through "t1", but the spec does say it's only used
for disambiguating so I was wrong.
--
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