getSymbolsByUDA

Provide a non-2.088, non-2.089 getSymbolsByUDA.

The getSymbolsByUDA in 2.088/2.089 is completely broken by having inserted a constraint to force it to only work on aggregates, which a module apparently isn't.

Keep as-is, don't refactor to use udaIndexOf.

static if((__VERSION__ == 2088L) || (__VERSION__ == 2089L))
template getSymbolsByUDA (
alias symbol
alias attribute
) {}

Members

Imports

hasUDA (from std.traits)
public import std.traits : hasUDA;
Undocumented in source.