What is a copy constructor?
Suppose we have an object of class X and we want to construct another object of class X from it
Then we need a constructor that takes an object of class X as argument
Previous slide
Next slide
Back to first slide
View graphic version