#include <iostream>
using namespace std;
struct MyQuestion
{
void fun()
{ cout<<"a"; }
void fun()const
{ cout<<"b"; }
void call()
{
const auto *c = this;
c->fun(); // calls fun() const
fun(); // calls fun()
}
};
int main() {
MyQuestion q;
q.call();
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKc3RydWN0IE15UXVlc3Rpb24KewoJdm9pZCBmdW4oKQoJeyBjb3V0PDwiYSI7IH0KCQoJdm9pZCBmdW4oKWNvbnN0Cgl7IGNvdXQ8PCJiIjsgfQoKCXZvaWQgY2FsbCgpCgl7CgkJY29uc3QgYXV0byAqYyA9IHRoaXM7CgkJYy0+ZnVuKCk7IAkvLyBjYWxscyBmdW4oKSBjb25zdAoJCQoJCWZ1bigpOyAJCS8vIGNhbGxzIGZ1bigpCgl9Cn07CgppbnQgbWFpbigpIHsKCU15UXVlc3Rpb24gcTsKCXEuY2FsbCgpOwp9