Hi,

What is the best way to write a class proxy ?
I need to intercept attribute access.

Example:

The user write a PODO:

class User
{
    string name;
}


Then he use my library:

auto user = mylib.get!User(); // return a proxy here

writeln(user.name); // intercept user.name access (how to do this ?)


Reply via email to