On 5/23/11, Timon Gehr <timon.g...@gmx.ch> wrote:
> BTW:
>
> writeln(typeid(int function(int))); //int()*
>
> wtf?

Yeah, typeid generally seems to be bad for these things.
typeof.stringof to the rescue:

writeln((int function(int)).stringof);  // int function(int)

Reply via email to