Proposal for __traits

Leonard Dahlmann leo.dahlmann at gmail.com
Wed Aug 22 05:14:21 PDT 2007


davidl Wrote:

> __traits itself is great
> though i think adding some builtin properties for class would be nicer

That's basically a nice idea. The problem with that though is, that
the properties would need to be available at both compile time
and runtime. IMO, RTTI is bloated enough like it is now.

With __traits the user can decide if he want's these type informations
to be available at runtime or not.



More information about the Digitalmars-d mailing list