function func = obj->method; func();