Hi Axel! Thank you! Using references is a good idea. Indeed, B::f() gets called.I agree that making the object const, is quite a drawback and having a temporary object living parallel is that good either.
-- Frank
Hi Axel! Thank you! Using references is a good idea. Indeed, B::f() gets called.I agree that making the object const, is quite a drawback and having a temporary object living parallel is that good either.
-- Frank