Accessing Private Fields from Outside

Mehrdad wfunction at hotmail.com
Tue May 17 16:47:29 PDT 2011


Is there any (hacky) way of accessing a private field from outside a 
data type? (The equivalent of reflection in managed languages.)

I'm trying to write a piece of marshaling code that needs access to a 
data type's fields, but can't access them because it's not allowed to. :(


More information about the Digitalmars-d mailing list