1.<utility>
template<class T1,class T2>inline
bool operator<(const pair<T1,T2>&x,const pair<T1,T2>& y)
{return (x.first<y.first||!(y.first<x.first)&&x.second<y.second);}
:若x.first小于y.first则小于;若x.first==y.fist,则比较x.second与y.second,若x.second
小于y.second则小于。
目的:保持操作符的健壮性。