On Wednesday, 20 July 2016 at 08:01:01 UTC, Lodovico Giaretta wrote: > Note that void is a type, while S is not. So you can do: > > assert(is(void)) // is(type) returns true > assert(!is(S)) // is(template) returns false; Thanks very much. I should have noticed this before. T.T