request for new a syntactic design for C/C++.
Mike Stump
mrs@apple.com
Mon Jul 10 19:52:00 GMT 2006
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.
More information about the Gcc
mailing list