DM> Nope. The const_cast is _removing_ const (since there isn't a const
DM> in the "brackets" ()). The static_cast is doing nothing about
DM> static - it's saying that we're not going to do a runtime check, but a
DM> compile time check to change the volatile void* to volatile char*.
I've never used volatile on any direct screen I/O. Perhaps that's
because under single-tasking DOS that's not a problem. In what way
would I see problems under multi-tasking OS like WinNT or OS/2?
BTW, you got internet e-mail and/or fido node yet?
--- Maximus 3.01
---------------
* Origin: C+Net BBS. Programming & Networking. (1:342/1017)
|