When I try pushing the copy of the copy of the CEmployee class into the vector, the name string doesn't copy over.Code:class CEmployee { string name; ... }; CEmployee (const CEmployee &e ) { int i; this->name = e.name; ... } ... void ProcessMorning(std::vector<CEmployee> &vEmps, int day) { unsigned int i; std::vector<CEmployee> openers; for(i=0; i<vEmps.size(); i++) { openers.push_back(vEmps[i]); } }