Getting All Instantiations of a Template
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() {
Re: Getting All Instantiations of a Template
dsimcha wrote: Is there currently a way in D2 to get the parameters of all instantiations of a template in a given scope? Templates are instantiated lazily, meaning it doesn't make much sense to figure this out at compile time.