标签:
int (Screen:: *ptr)(int,int)=&Screen::add; Screen screen; (screen.*ptr)(x,y) Screen *ptrScreen=new Screen() (ptrScreen->*ptr)(x,y) typedef int Screen::*PS_Screen; PS_Screen ptrAdd= &Screen::add; Screen myScreen; myScreen.*ptrAdd(x,y)
void f(int); void f(const int);
标签:
原文地址:http://www.cnblogs.com/phenixyu/p/4256781.html