The copy constructor isn't called. Why?
Here is the code.
When getCircle() returns, it should call the copy constructor and generate a temporary object, right?
using namespace std;
Circle(const Circle &);
c = getCircle();
x = y = radius = 30;
Circle::Circle(const Circle &c)
cout << "copy constuctor!" << endl;
radius = c.radius;
But it comes out that the copy constructor is not call cause I cannot find `copy constuctor!' in the output.