explore current scope, or other hack

bearophile bearophileHUGS at lycos.com
Mon Nov 15 09:44:24 PST 2010


spir:

> 1. name objects automatically
> I need some objects to know their name (as field on themselves). the only solution I can else imagine is for the user write:
> 	x = ...;
> 	x.name = "x";

What if you have two or more references to the same object?

Regarding your generic question, I'd like DMD to have more static introspection, for for now ...

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list