GetTypes

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

template GetTypes () {}

Examples

1 import unit_threaded.attrs;
2 import std.meta;
3 
4 @Types!(int, float) int i;
5 static assert(HasTypes!i);
6 static assert(is(GetTypes!i == AliasSeq!(int, float)));

Meta