[Issue 8256] mixin() doesn't work in a template declaration

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jun 17 02:02:59 PDT 2012


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



--- Comment #3 from Kenji Hara <k.hara.pg at gmail.com> 2012-06-17 02:05:15 PDT ---
Workaround(not tested):

template Foo(T = typeof(mixin(getTypeName()).init)) { }

-- 
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