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.
More Related Contents:
- I am trying to develop a Complex number calculator. [closed]
- C++ What’s the standard way to define a recursive constructor?
- What does the explicit keyword mean?
- What is this weird colon-member (” : “) syntax in the constructor?
- Can I call a constructor from another constructor (do constructor chaining) in C++?
- What is a converting constructor in C++ ? What is it for?
- Do built-in types have default constructors?
- Conversion constructor vs. conversion operator: precedence
- What is the default constructor for C++ pointer?
- Scope of variables in if statements
- Who deletes the memory allocated during a “new” operation which has exception in constructor?
- How can I initialize C++ object member variables in the constructor?
- call to pure virtual function from base class constructor
- How can i use member initialization list to initialize an array?
- Do I really need to implement user-provided constructor for const objects?
- Can class template constructors have a redundant template parameter list in c++20
- Will an ’empty’ constructor or destructor do the same thing as the generated one?
- What destructors are run when the constructor throws an exception?
- Struct Constructor in C++?
- Creating an object: with or without `new` [duplicate]
- Initializing a union with a non-trivial constructor
- Constructor initialization Vs assignment
- C++11 anonymous union with non-trivial members
- No matching function for call to Class Constructor
- Using C++ base class constructors?
- Why aren’t copy constructors “chained” like default constructors and destructors?
- Why should I prefer to use member initializer lists?
- C++ Member Initializer List
- How do I initialize a const data member?
- How can I initialize C++ class data members in the constructor?