Suppose that you omit the copy constructor suggested for the
railroad_car
class, but you include the following copy constructors
in the box
and cylinder
classes private portions:
box (box&); cylinder (cylinder&);
Do these copy constructors prevent you from inadvertently copying
railroad_car
objects?