On 5/23/11, Timon Gehr <[email protected]> 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)
