This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: request for new a syntactic design for C/C++.
- From: Mike Stump <mrs at apple dot com>
- To: "Vladimir 'Yu' Stepanov" <vys at renet dot ru>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 10 Jul 2006 12:52:39 -0700
- Subject: Re: request for new a syntactic design for C/C++.
- References: <44B1EB23.6050404@renet.ru>
On Jul 9, 2006, at 10:52 PM, Vladimir 'Yu' Stepanov wrote:
I would like to offer one expansion for C/C++.
Did you just reinvent downcasting in C++? If so, C++ already has
that feature!? As for C, C, I'd claim C already has that feature[1],
you merely have to put in a #define into your library to make it look
pretty. In C, since this is a library issue, the compiler would be
the wrong place to put the feature. Since it can be done with a
macro, there is little need to change the grammar of the language.
1 - Contentious, should be decided by C committee IMHO.