On Sun, 18 Mar 2012 17:01:00 +1100, FeepingCreature <default_357-l...@yahoo.de> wrote:

There's a shortcut for this, called IFTI, "implicit function template instantiation" ...


What would be useful is ...


 template bar(T...){ void bar(T t) { writefln(t); } }

 int a,b,c;
 bar!(a, b, c); // is equivalent to
 bar!(int, int, int).bar(a, b, c);

--
Derek Parnell
Melbourne, Australia

Reply via email to