结构体中的运算符重载

struct node { int data; bool operator < (const node b)const { return data < b.data; } };
相关文章
相关标签/搜索