On 2012-04-20 18:21, Jakob Ovrum wrote:
On Friday, 20 April 2012 at 14:19:25 UTC, Jacob Carlborg wrote:
Don't know if it helps but you can get the name of the arguments of a
function:

https://github.com/jacob-carlborg/orange/blob/master/orange/util/Reflection.d#L29


I don't think that function handles delegate/function parameters.

This function is too naive, it's incredibly easy to break.

void foo(immutable(int) a);

Yeah, I know. This function more or less shows it's possible.

--
/Jacob Carlborg

Reply via email to