Alias ParameterAttribute

Return an alias to the j-th user-define attribute of the i-th parameter of fun.

alias ParameterAttribute(alias fun, int i, int j) = Alias!(__traits(getAttributes,P[i..i+1])[j]);

Parameters

NameDescription
fun a function
i zero-based index of a parameter of fun
j zero-based index of a user-defined attribute of i-th parameter fun