Is there currently a way in D2 to get the parameters of all instantiations of
a template in a given scope? For example:
class Foo {
template instantiateMe(T) {
void instantiateMe(T arg) {}
}
void foo() {
int i;
instantiateMe(i);
}
void bar() {
float f;
instantiateMe(f);
}
alias allInstantiations!instantiateMe allArgs; // (int, float)
}