struct Node {
int x,y;
Node() {
x = y = 0;
}
Node operator & (const Node &el) const {
return (Node)<%x&el.x, y&el.y%>;
}
Node operator | (const Node &el) const {
return (Node)<%x|el.x, y|el.y%>;
}
Node operator ^ (const Node &el) const {
return (Node)<%x^el.x, y^el.y%>;
}
};
这段代码为什么会报错。求助各位大佬,谢谢!