The Right Approach to Exceptions

Nick Sabalausky a at a.a
Mon Feb 20 15:35:11 PST 2012


"H. S. Teoh" <hsteoh at quickfur.ath.cx> wrote in message 
news:mailman.710.1329769408.20196.digitalmars-d at puremagic.com...
>
> Unfortunately, I don't think D supports runtime reflection yet. At
> least, not to the point we need (accessing field values of a general
> Object).
>
> Although, as some have said, it's possible to work around this by using
> .tupleof, which is still a better solution than Variant[string], because
> at least you'd have compile-time type checking.
>

...And compile-time *existence* checking.




More information about the Digitalmars-d mailing list