What is a copy constructor in C++?

Yes, copy constructors are certainly an essential part of standard C++. Read more about them (and other constructors) here (C++ FAQ).

If you have a C++ book that doesn’t teach about copy constructors, throw it away. It’s a bad book.

Leave a Comment