Copying Data

Steven J. Zeil

November 13, 2013

Course Home   e-mail

1 Destructors
2 Copy Constructors
 2.1 Where Do We Use a Copy Constructor?
 2.2 Compiler-Generated Copy Constructors
 2.3 Example: Bid: Compiler-Generated Copy Constructor
 2.4 Example: BidCollection: Compiler-Generated Copy Constructor
 2.5 Writing a BidCollection Copy Constructor
 2.6 Shallow & Deep Copying
3 Assignment
 3.1 Compiler-Generated Assignment Ops
 3.2 Implementing Assignment
4 The Rule of the Big 3

Copying Data Structures   

Copying data is one of the most common operations in C++.


But, First...   

A slight diversion…

[Previous]