getparams

Get the parameters of function as a string.

pt_alias refers to an alias of ParameterTypeTuple!fn visible to wherever you want to mix in the results. pd_alias refers to an alias of ParameterDefaultValueTuple!fn visible to wherever you want to mix in the results.

Members

Aliases

Pd
alias Pd = WorkaroundParameterDefaults!fn
Undocumented in source.
Pi
alias Pi = ParameterIdentifierTuple!fn
Undocumented in source.

Functions

inner
string inner()
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

getparams
enum getparams;
Undocumented in source.
var
enum var;
Undocumented in source.

Examples

void foo(int i, int j=2) {
}

static assert(getparams!(foo,"P","Pd") == "P[0] i, P[1] j = Pd[1]");

Meta