Modify const reference data

Heinz thor587 at yahoo.com
Mon Dec 9 10:18:26 PST 2013


> Wow, i didn't know i could cast out constness from an lvalue. 
> This is what i needed. I'll try it in my code as soon as i can. 
> Thanks.

Yep, it compiles and works! By the way, i forgot to call b.foo() 
in my example. Thanks for your help guys.


More information about the Digitalmars-d-learn mailing list