結構體中的運算符重載

struct node { int data; bool operator < (const node b)const { return data < b.data; } };
相關文章
相關標籤/搜索