This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Re: how to cast away 'volatile'?


Hi,

I am finding this thread very interesting to follow 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?

Greetings,
Olivier Langlois
http://www.olivierlanglois.net



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]