Was just looking through some code and realized there's a lot of this:

  template isSomething(T) {
    enum isSomething = is( ... );
  }

I remember a discussion a little while ago about an alternative alias syntax:

  alias <name> = <type>;

Which I hope is still in the works, but I thought something similar _might_ be helpful for templates too. So the template above could be written:

  template isSomething(T) = is( ... );

Which looks a bit cleaner.


Just a thought.

Reply via email to