Time for std.reflection
deadalnix
deadalnix at gmail.com
Sun Jul 22 05:04:50 PDT 2012
On 22/07/2012 05:46, Jonathan M Davis wrote:
> Runtime reflection _must_ be opt-in. We do _not_ want to make all types pay the
> cost of having it. That means that however it's done is going to require that
> every type that has it be marked in one way or another to enable that
> functionality.
I don't think both are that related here.
Yes, we are a system language, so this have to be opt-in. But no, this
doesn't means that every type have to be marked to be reflected.
I'd expect from std.reflection that it is able to reflect recursively
from the marked starting point.
More information about the Digitalmars-d
mailing list