Steven Schveighoffer:property { int x() {} void x(int n) {} bool empty() {} }An alternative: property(x) { ... // or getter and/or setter }
No, that is a different proposal. All I was saying is if property is an attribute, then like other attributes (const, etc), code like this:
property int x() {}
property void x(int n) {}
property bool empty() {}
can be rewritten as above.
-Steve
