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

Reply via email to