C to C++ cast

Venix

Golden Member
Aug 22, 2002
1,084
3
81
If X->Get() returns a non-const, non-volatile void pointer, yes. Otherwise, you will need to use reinterpret_cast and/or const_cast.