On Thursday, 14 July 2016 at 16:17:19 UTC, Jesse Phillips wrote:
I still haven't found someone who can explain how C++ can define the behavior of modifying a variable after casting away const.

C++ is locked down in a mine-field of backward compatibility issues and a need to interface with C verbatim (directly including C header files where const parameters might lack the const modifier).

D does not work with C header files and can redefine the interfaces to fit D semantics in C bindings...

Reply via email to