On Tue, 01 May 2012 22:11:18 -0400, Mehrdad <[email protected]> wrote:

More problems... similar, but this time related to templates.

  struct Filter(R) { this(R) { } }
  template filter(R) { alias Filter!(R).__ctor filter; }
  void main() { filter([1, 2, 3]); }

Error: template linq.filter(R) is not a function template

It's an annoying limitation. IFTI specifically *only* works with functions. Not aliases, not types, not anything else. Functions only.

-Steve

Reply via email to