Why typeof(template) is void?

mogu via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jul 19 18:14:05 PDT 2016


```
struct S(T) {}

static assert(is (typeof(S) == void));
```

Why S's type isn't something like `S: (T) -> S`?


More information about the Digitalmars-d-learn mailing list