哪一段代码是正确的,为什么?
C C::operator++() {
x++;
y++;
return *this;
}
C & C::operator++() {
x++;
y++;
return *this;
}
谢谢