'Auto can only be used for template function arguments' what?

Mehrdad wfunction at hotmail.com
Tue Jun 26 09:17:24 PDT 2012


void test1(T)(auto ref T) { }
void test2() { int a = 5; test1!(int)(a); }

Is there any reason this should fail?


More information about the Digitalmars-d mailing list