GetTypes

Returns the types in the @Types UDA associated to a test

Members

Aliases

GetTypes
alias GetTypes = AliasSeq!()
Undocumented in source.
GetTypes
alias GetTypes = AliasSeq!()
Undocumented in source.
GetTypes
alias GetTypes = TemplateArgsOf!(types[0])
Undocumented in source.
types
alias types = Filter!(isTypesAttr, __traits(getAttributes, T))
Undocumented in source.

Examples

import unit_threaded.attrs;
@Types!(int, float) int i;
static assert(HasTypes!i);
static assert(is(GetTypes!i == AliasSeq!(int, float)));

Meta