//测试获取静态成员函数地址(获取重载版本)
#include <iostream>
#include<algorithm>
#include <string>
#include <map>
using namespace std;
class a
{
public:
static void aa() {};
static void aa(int) { cout << "aa" << endl; };
};
int main()
{
void (*p1)() = a::aa;
void (*p2)(int) = a::aa;
cout << p1 << endl;
cout << p2 << endl;
system("pause");
}