Bottom line re GC in D

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Thu Jul 10 13:49:36 PDT 2014


Araq:

> casting to const/immutable might be officially undefined but in 
> practice abounds so you better don't take advantage of that,

Do you have evidence of this? It's not just "officially 
undefined", it's practically undefined, dmd gives all kind of 
wrong results if you cast away const/immutable and then you 
mutate the data, you don't get far with that habit.

Bye,
bearophile


More information about the Digitalmars-d mailing list