[Issue 4265] It should be possible to query template parameters with __traits

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jun 3 20:05:22 PDT 2010


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



--- Comment #2 from nfxjfg at gmail.com 2010-06-03 20:05:20 PDT ---
Trass3r: meta programming. It often happened to me that I wanted to get the
template params. Sometimes I had to add alias declarations just to get access
to them. I think this feature would make meta programming code simpler in some
cases.

PS: the example above should start with:

struct Foo(T1, T2) {
}

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