T tidehigh Senior member Nov 13, 2006 567 0 0 Feb 1, 2008 #1 (char*)X->Get() is the same as static_cast<char*>( X->Get() ) correct?
V Venix Golden Member Aug 22, 2002 1,084 3 81 Feb 1, 2008 #2 If X->Get() returns a non-const, non-volatile void pointer, yes. Otherwise, you will need to use reinterpret_cast and/or const_cast.
If X->Get() returns a non-const, non-volatile void pointer, yes. Otherwise, you will need to use reinterpret_cast and/or const_cast.