TemplateStats

Collect and print statistics on template instantiations.

struct TemplateStats {
__gshared
TemplateStats[const void*] stats;
uint numInstantiations;
uint uniqueInstantiations;
TemplateInstances* allInstances;
}

Members

Static functions

incInstance
void incInstance(TemplateDeclaration td, TemplateInstance ti)

Add this instance

incUnique
void incUnique(TemplateDeclaration td, TemplateInstance ti)

Add this unique instance

Meta