In C++ you can overload the same function signature with a variant that is const (and then has a MyClass* const receiver) and a non-const variant. Currently, for us, we see the functions, but they have an identical function signature, since we do not take the const into account.
In C++ you can overload the same function signature with a variant that is
const
(and then has aMyClass* const
receiver) and a non-const variant. Currently, for us, we see the functions, but they have an identical function signature, since we do not take the const into account.This might not be so trivial to solve.