Glossary: C++ Beyond the Basics
Copy constructor
A constructor `T(const T&)` that builds a new object as a copy of an existing one, such as copying a vector of 10,000 order lines.
Glossary: C++ Beyond the Basics
A constructor `T(const T&)` that builds a new object as a copy of an existing one, such as copying a vector of 10,000 order lines.