https://d.puremagic.com/issues/show_bug.cgi?id=5361



--- Comment #1 from [email protected] 2014-02-06 11:17:00 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/db88295013fabb9a31368af9cf02787125062df3
Fix Issue 5361 - Add TemplateOf and TemplateArgsOf

Examples:

```d
struct Foo(A, B) {}
alias Bar = Foo!(int, real);
static assert(__traits(isSame, TemplateOf!Bar, Foo));
static assert(is(TemplateArgsOf!Bar == TypeTuple!(int, real)));
```

https://d.puremagic.com/issues/show_bug.cgi?id=5361

https://github.com/D-Programming-Language/phobos/commit/e6e323175d8ea83aba09d85c6b927d61835c76c3
Merge pull request #1884 from Poita/bug5361

Fix Issue 5361 - Add TemplateOf and TemplateArgsOf

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

Reply via email to