$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [property] interest in C# like properties for C++?
From: Sid Sacek (ssacek_at_[hidden])
Date: 2009-10-22 19:41:57
>>  [ Edward Diener wrote: ]
>>  Manipulating a reference property would be done purely through accessing 
>>  the property. Accessing a reference property returns a T & or a T const 
>>  & depending on whether the property is const or not. In the case where a 
>>  T & is returned the reference property is read/write if T itself is not 
>>  const, since you can manipulate T through the reference, whereas in the 
>>  case where T const & is returned ( or where T & is returns but T is 
>>  itself const), the reference property is read only.
Who says that's how properties work?  That just happens to be your version of
the implementation details.
I don't think that's how properties have to work at all.
-Sid Sacek.