No better solution that I know of.alias template parameters (alias a) match symbols (names, user-definedtypes) whereas type parameter (T) match only pure types.So when we need to match anything, we use (T...) if (T.length == 1)
Ok, now it's clear. Thank you very much. Sometimes D is really a little weird...