Generally bad design if you have to do that. If I did decide to I'd probably get a const reference to point to the non-const instance and call it from the const-reference.
Thus:
Code:Foo foo; const Foo& foocref( foo ); foocref.method(); // will call const overload




Reply With Quote