Proxy objects and controlling/monitoring access
BCS
ao at pathlink.com
Fri Aug 17 14:57:58 PDT 2007
Reply to Bill,
> For instance, if you want to wrap a struct
> there's no way to emulate getting and setting of the struct's members
> without writing a specific wrapper that adds property get/set methods
> for each member of the wrapped struct.
why not do that? It could be done with mixin and __traits. It would be ugly
though. (Man I want tuple foreach outside function scope!)
More information about the Digitalmars-d
mailing list