typedef struct Point{ double x,y; bool operator<(const Point &other) const { return x<other.x; } };
typedef struct Point{ double x,y; bool operator<(const Point &other) const { return x<other.x; } };
转载于:https://www.cnblogs.com/jianfengyun/p/3722385.html