Problem with ReturnType

bearophile bearophileHUGS at lycos.com
Fri Apr 4 03:10:11 PDT 2008


janderson:
> There is no return type.  alias Return is returning an int.

I know, that code isn't the minimal yet, but even if you replace bar with:

void bar(T)(T f) { f(); }

The situation doesn't change.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list