Templates at runtime

Christopher Wright dhasenan at gmail.com
Fri Feb 13 04:27:02 PST 2009


Justin wrote:
> Is there a way to "find" a classinfo for such a class at runtime?

The slow way:

foreach (modul; ModuleInfo)
	foreach (info; modul.localClasses)
		if (info.name == name) return info;
return null;



More information about the Digitalmars-d mailing list