getUDAs

Returns a compile-time tuple of user-defined attributes (UDA) attached to symbol.

symbol can be:

Template
The attribute is matched if it is an instance of the template attr.
Type
The attribute is matched if it its type is attr.
Expression
The attribute is matched if it equals to attr.

If attr isn't given, all user-defined attributes of symbol are returned.

Members

Aliases

getUDAs
alias getUDAs = FindUDA!(__traits(getAttributes, symbol))
Undocumented in source.

Parameters

symbol

A symbol.

attr

User-defined attribute.

Return Value

A tuple of user-defined attributes attached to symbol and matching attr.

See Also

Meta