Constness understanding

drug via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Nov 30 01:13:07 PST 2015


I have some struct and other struct stores reference to the first one 
like a pointer to constant. Nevertheless I can change the value of the 
first struct. Is it some hack?

http://dpaste.dzfl.pl/0dfa3dff2df7


More information about the Digitalmars-d-learn mailing list