Metacode mechanics

Craig Black cblack at ara.com
Tue Feb 28 13:40:48 PST 2006


> I'm sure that compile time reflection is the way to go.
> We already have the .mangleof property, which maps any type to a string. 
> Once we get array literals, you could have an array of strings showing all 
> members of a given item.
> eg a property
> char [][] .membersof
> which is valid for any type.

Compile-time reflection would be very nice.  I'm not sure I understand why 
array literals would be a requirement for this.  Am I missing something?

-Craig 





More information about the Digitalmars-d-dtl mailing list