A
Asapi
"Only static_cast can be used with value types; const_cast and dynamic_cast
can only be used with pointers and references."
Is this a correct statement?
Can reinterpret_cast be used with references at all?
const_cast casts away constantness. Can const_cast be used to cast back
constantness if possible at all?
Thanks!
can only be used with pointers and references."
Is this a correct statement?
Can reinterpret_cast be used with references at all?
const_cast casts away constantness. Can const_cast be used to cast back
constantness if possible at all?
Thanks!