On Mar 19, 11 04:28, so wrote:
alias a(T) = b(T, known_type);

Would it be an overkill?

If B is a template I think it's more consistent to add a '!':

   alias A(T) = B!(T, int);

But I don't think it worth such generalization given the existing syntax already works:

   template A(T) {
     alias B!(T, int) A;
     // alias A = B!(T, known_type);
   }

Reply via email to