Boost logo

Boost :

Subject: Re: [boost] [property] interest in C# like properties for C++?
From: Matthew Chambers (matthew.chambers_at_[hidden])
Date: 2009-10-19 15:56:33

Peder Holt wrote:
> It currently support:
> Read/Write properties
> Read properties
> Write properties
> Not supported yet:
> indexed properties
> operator overloads for properties, e.g.*
> will currently fail.
I would love to see C++ properties! It may be syntactic sugar but I
happen to have a sweet tooth. Will parenthesizing the properties be
enough to use them with const operators? I tried to play with your code,
but it won't compile on codepad:


Boost list run by bdawes at, gregod at, cpdaniel at, john at