Boost logo

Boost :

Subject: Re: [boost] [property] interest in C# like properties for C++?
From: Peder Holt (peder.holt_at_[hidden])
Date: 2009-10-20 14:11:15


2009/10/19 Matthew Chambers <matthew.chambers_at_[hidden]>

> Peder Holt wrote:
>
>>
>>
>>
> 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: http://codepad.org/MD5knINj
>
>
It now compiles without warnings, also for classes with virtual members.
Operator support is added for operator*.
http://codepad.org/A4vaAMPZ

Regards
Peder

Thanks,
> -Matt
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk