Alias Aggregates
Returns a tuple of each aggregate in the form of the Quirks
template
Example
struct S {
long id;
int age;
string name() {
return "name";
}
struct Nested {
}
}
alias aggregates = Aggregate!S;
static foreach (aggregate; aggregates) {
pragma(msg, aggregate .type);
pragma(msg, aggregate .name);
}