struct FCompHeight {
bool operator()(const CPerson& i,const CPerson& j)const{
return i.m_height < j.m_height;
}
};
struct FCompWeight {
bool operator()(const CPerson& i,const CPerson& j)const{
return i.m_weight < j.m_weight;
}
};
struct FCompShoe {
bool operator()(const CPerson& i,const CPerson& j)const{
return i.m_shoe < j.m_shoe;
}
}; |