On Fri, 18 Mar 2011 16:37:49 -0400, Andrei Alexandrescu <seewebsiteforem...@erdani.org> wrote:

On 3/18/11 3:28 PM, so wrote:
alias a(T) = b(T, known_type);

Would it be an overkill?

It's part of the evil plan.

(I think there is a typo above, shouldn't it be alias a(T) = b!(T, known_type) ? )

You mean you would no longer need the surrounding template declaration?

i.e. the above (corrected) statement would be short for:

template a(T)
{
   alias a = b!(T, known_type);
}

That would be certainly very un-evil ;)

-Steve

Reply via email to