[linux-elitists] Nobody's favorite language? C++ and free software

Aaron Sherman ajs@ajs.com
Tue Apr 1 08:21:58 PST 2003


On Wed, 2003-03-26 at 16:54, Martin Pool wrote:

> The thing I would most like in C is const_cast, reinterpret_cast,
> etc.  That could make it a lot safer.  Perhaps they could be done as
> some kind of gcc attribute(())-like system.

The distinction was required in C++ because of run-time type
identification, required for certain types of templated polymorphism. I
don't see the need in C. Please feel free to explain how you would use
it, as I'm willing to believe that I could be way off base here.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
Url : http://allium.zgp.org/pipermail/linux-elitists/attachments/20030401/028c02f3/attachment.pgp 


More information about the linux-elitists mailing list