After reading this question, i saw the answer by Naveen containing a link to this page, which basically says, that casting from Derived** to Base** is forbidden since could change a pointer to an pointer to a Derived1 object point to a pointer to a Derived2 object (like: *derived1PtrPtr=derived2Ptr
).
OK, i understand this is evil ...
But when casting Derived**
to Base*const*
this is not even possible, so whats the reason that this is not allowed anyway ?