First try
It might seem that we could define a copy constructor this way:
class X {
public:
X(X); // copy constructor?
// ...
};
However, this strategy fails hideously
Previous slide
Next slide
Back to first slide
View graphic version