#include "stdafx.h"
#include <string>
#include <map>
#include <functional>
using namespace std;typedef struct S_1 {
int i;
public:
bool operator()(S_1 &s1, S_1 &s2)
{
return s1.i < s2.i;
}
bool operator<(S_1 &s2)
{
return i < s2.i;
}
// bool operator<(S_1 &s1, S_1 &s2)
// {
// return s1.i < s2.i;
// }
}S_1;int main(int argc, char* argv[])
{
S_1 S1;
// pair<string, string> p1;
S1.i = 1;
map<S_1, int> m_map1;
m_map1[S1] = 1;
// m_map1.insert();
printf("Hello World!\n");//make_pair("x", "x");
return 0;
}