ParameterIdentifierTuple

Get, as a tuple, the identifiers of the parameters to a function symbol.

template ParameterIdentifierTuple (
func...
) if (
func.length == 1 &&
isCallable!func
) {}

Examples

int foo(int num, string name, int);
static assert([ParameterIdentifierTuple!foo] == ["num", "name", ""]);

Meta

Suggestion Box / Bug Report