Properties: a.b.c = 3

BLS windevguy at hotmail.de
Wed Jul 29 02:39:02 PDT 2009


Walter Bright wrote:
> davidl wrote:
>> A property should never return temp obj in the first place.
> 
> That's unworkable - it means you cannot have user defined types.

I would like to say that if a class/ structure _is_ a property than it 
has to be declared as immutable, otherwise it is _not_ a property.



More information about the Digitalmars-d mailing list