"Bill Baxter" <wbax...@gmail.com> wrote in message 
news:mailman.343.1231465331.22690.digitalmar...@puremagic.com...
> On Fri, Jan 9, 2009 at 9:59 AM, Miles <____...@_______.____> wrote:
>> Nick Sabalausky wrote:
>>> A property setter is ALWAYS going to return nothing and
>>
>> Both the getter and the setter should return an rvalue. Properties exist
>> so that they are interchangeable with real member variables.
>
> Partly, but also properties exist to provide encapsulation of private 
> state.
> So you gotta be careful when you say they should always return an lvalue.

He said "rvalue", not "lvalue". I actually made that same mistake the first 
couple times I read it. 


Reply via email to