Re: how to cast away 'volatile'?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Olivier Langlois wrote:
I am finding this thread very interesting to follow

So am I! It's fun to see what a lively (and informative!) discussion my simple question caused. :-)

but I am surprised
that nobody mentioned const_cast<> as it is the official way to cast
away the volatile specifier. Is this because the problem is in C?

Since const_cast is not supported in C, and I am writing in C, that seems likely. :-)

I think at some point I actually asked 'what is the C equivalent of const_cast<>' (but I'm not sure if I actually posted that or just thought it...).

--
Matthew
"unsubscribe me plz!!" -- Newbies


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux