Problem with ReturnType

janderson askme at me.com
Fri Apr 4 08:12:10 PDT 2008


bearophile wrote:
> 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

My bad.  It does look like a compiler deficiency.

-Joel


More information about the Digitalmars-d-learn mailing list