On 2013-01-25 01:55, kenji hara wrote:
I can imagine a situation that we might not want to treat property
functions as DATAs simply.

If you have a struct which have some property functions as members, and
you'd want to serialize it:

struct S {
    int value_;
    @property int value() { return value_; }
}

At least, the serialization library should recognize the S.value is a
_property function_, not a int DATA.

A serialization library would only recognize "value_" since it's an instance variable.

--
/Jacob Carlborg

Reply via email to