Jacob Carlborg <d...@me.com> wrote:

Here you go: http://tango.pastebin.com/M38jdhGd including calling using named arguments.

Does not handle function/delegate return types.

struct S {}
void function(int delegate(float)) F(string delegate(), string function(string, string), float, double, S);
writeln("Parameters: ", parameterNamesOf!F);

Gives:
Parameters: delegate(float

One needs to match parentheses from the last parentheses in the typeof.stringof.

--
Simen

Reply via email to