<分区>
Possible Duplicate:
c++ call constructor from constructor
如何在 C++ 中进行“ self ”(this)赋值?
Java:
public Point(Point p) {
this(p.x, p.y);
}
在 C++ 中如何做到这一点?
会不会只有 this->(constructor of point that takes x, constructor of point that takes y);
?