@property - take it behind the woodshed and shoot it?

Jacob Carlborg doob at me.com
Fri Jan 25 12:46:37 PST 2013


On 2013-01-25 18:12, Adam Wilson wrote:

>> @property(get, set) int a;
>> @property(get) int b;
>> @property(set) int c;
>> @property int d; // same as "a"
>>
>
> This, for the love of all that is good in the world, a million times this!

I think this syntax feels quite obvious.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list