If you had an unsigned int that needed to be cast to a const myClass*,
would you use
const myClass* a=reinterpret_c ast<const myClass*>(my_va l);
or
const myClass* a=(const myClass*)myVal;
?
--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cybers pace.org | don't, I need to know. Flames welcome.
would you use
const myClass* a=reinterpret_c ast<const myClass*>(my_va l);
or
const myClass* a=(const myClass*)myVal;
?
--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cybers pace.org | don't, I need to know. Flames welcome.
Comment