Skip to content

Latest commit

 

History

History
3 lines (2 loc) · 225 Bytes

13.1.md

File metadata and controls

3 lines (2 loc) · 225 Bytes

A copy constructor is a constructor whose first parameter is a reference to the class type and any additional parameters have default values.

The copy constructor may be used when we use copy initialization, but not always.