DIP26: properties defined

Jacob Carlborg doob at me.com
Sat Feb 9 07:20:18 PST 2013


On 2013-02-09 10:57, Tove wrote:

> @property int a;
>
> I would prefer if @property simply disallows '&' then it doesn't have to
> be lowered into anything and can stay a field... if you later decide to
> add a "real" getter/setter, it still would be source compatible and you
> wouldn't have to refactor the source.

If it's not lowered to functions they won't be virtual, which might be 
wanted.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list