3 ms·
> It seems to me the "hacking" is exactly the side-effect that is wanted. It is not. It's broken at the surface level. If you passed a pointer that is already
by jstimpfle 3y ago
> It seems to me the "hacking" is exactly the side-effect that is wanted.
It is not. It's broken at the surface level. If you passed a pointer that is already const on your side, you get back a non-const pointer back that allows you to write to your const memory.