toddalina/cs24 — Issue #6: self assignment
Author: toddalina
Created: 2012-01-27 03:00:48+00:00
State: open

Need to check for self assignment in copy constructors.

use:
if (this == &source)
{
cout << "You cannot copy an item to itself." << endl;
return;
}