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.

Reply via email to