Frank Benoit schrieb: > I need to retrieve an instance of TypeInfo from an object instance at > runtime. > > TypeInfo info = typeid(obj) // does not work, only compile time > > TypeInfo info = obj.classinfo.????; // how to navigate to TypeInfo? > > Is that possible? > If not, why? And can it be added (D1)?
See also: http://d.puremagic.com/issues/show_bug.cgi?id=2836