On 3/18/12, Derek <ddparnell at bigpond.com> wrote:
> What would be useful is ...
> bar!(a, b, c); // is equivalent to
> bar!(int, int, int).bar(a, b, c);
You mean like this?
template bar(T...)
{
void bar() { writeln(T); }
}
void main()
{
int a = 1, b = 2, c = 3;
bar!(a, b, c);
}