casting between structs

bearophile bearophileHUGS at lycos.com
Wed Dec 18 15:54:33 PST 2013


Mariusz `shd` Gliwiński:

> * it's currently safe

One thing to remember when casting, is that when you cast 
const/immutable to mutable, then you can't mutate the data.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list