Reflection

Bruno Medeiros daiphoenixNO at SPAMlycos.com
Fri Mar 3 06:39:18 PST 2006


Sean Kelly wrote:
> And there are more in std/typeinfo.  The problem is that, as far as I 
> know, the names of these classes are not standardized, nor is the output 
> returned by the name method, so they're of limited direct use.  For Ares 
> I actually moved std/typeinfo into the runtime and don't expect the 
> classes to be used directly, but rather for the user to do typeid(int) 
> or whatever to return a reference to the appropriate TypeInfo object.
> 
> 
> Sean

Uh, I think the idea in D/Phobos is the same, to use typeid(sometype) 
and not the use the classes directly.

-- 
Bruno Medeiros - CS/E student
"Certain aspects of D are a pathway to many abilities some consider to 
be... unnatural."



More information about the Digitalmars-d mailing list