当前位置: 代码迷 >> 综合 >> vector 里面 放struct 的排序重载
  详细解决方案

vector 里面 放struct 的排序重载

热度:74   发布时间:2024-01-16 03:14:39.0

 friend bool operator < (const   SERVERINFO   &lhs,   const   SERVERINFO   &rhs)
 {
  return lhs.eClientType < rhs.eClientType;
 }

  相关解决方案