The OpenD Programming Language

ParameterIdentifierTuple

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

template ParameterIdentifierTuple (
alias func
) if (
isCallable!func
) {}

Examples

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

Meta