What about assignment operators


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]

Posted by Chris on December 05, 2001 at 17:47:21:

In Reply to: Re: Any copy constructors needed?.... posted by D. Barnette on December 05, 2001 at 17:32:26:

Is it safe to assume we don't have to overload any assignment operators?

: Since there is no good reason to be passing the street, tow truck list, dispatcher around by value, copy constructors should be unnecessary for this program. This avoids the problem of coding a deep polymorphic copy.




Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]