D has the same memory model as C++

Bastiaan Veelo Bastiaan at Veelo.net
Tue Aug 10 18:07:35 UTC 2021


On Tuesday, 10 August 2021 at 16:00:37 UTC, Tejas wrote:
> there's casting away const, a clearly seperate language feature 
> which has no equivalent in D;

You *can* cast away `const` in D: https://run.dlang.io/is/sWa5Mf

— Bastiaan.




More information about the Digitalmars-d-learn mailing list