C++ property support

Christian Parpart trapni@gentoo.org
Sun Apr 10 06:45:00 GMT 2005


On Sunday 10 April 2005 12:01 am, Gabriel Dos Reis wrote:
> Stefan Strasser <sstrasser@systemhaus-gruppe.de> writes:
> | Christian Parpart schrieb:
> | > and the microsoft proposal (derived from C#)
> | > class my_bar {
> | > public:     property int bar {
> | >         int get() { return value; }
> | >         void set(int v) { value = v; }
> | >     }
> | > private:
> | >     int value;
> | > }
> | > http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1600.html
> |
> | first of all, I think comp.lang.c++.moderated is a better place to
> | discuss things like that.
>
> or comp.std.c++

Well, maybe, but this is the GCC list here. And I was asking wether GCC is 
about to support this. (as others - at least: namely MSVC and BCC) are said 
to support this, already.

But I'm not on a win32 platform, though can't use any of those compilers ;)

Cya,
Christian Parpart.

-- 
Netiquette: http://www.ietf.org/rfc/rfc1855.txt
 08:43:54 up 17 days, 21:50,  0 users,  load average: 0.01, 0.05, 0.07
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20050410/fdddc7bb/attachment.sig>


More information about the Gcc-help mailing list