Defining some stuff for each class in turn
grauzone
none at example.net
Thu Oct 1 11:11:58 PDT 2009
Andrei Alexandrescu wrote:
> Jarrett Billingsley wrote:
>> I think it sounds interesting enough, but I can't help but wonder if
>> this is a feature that you've really thought through (especially wrt.
>> how it interacts with mechanisms such as template mixins and normal
>> symbol inheritance), or if you just want it to support some pattern
>> you want to use in Phobos 2.
>
> I've known for a long time this was in store if we want to define decent
> reflection. It's also been a perennial source of trouble with a lot of
> code that needs to inject members.
I don't see how that would be needed for reflection, and I've written
some custom reflection/serialization myself. Yay for tupleof being able
to read even private members.
More information about the Digitalmars-d
mailing list