2 // GROUPS passed assignment
6 virtual ~ccUnwind (); // comment out virtual, and void diag changes
10 class ccHandle : public ccUnwind // similarly comment out inheritance
13 ccHandle& operator = (const ccHandle& h);
18 class ccImage : public ccHandle<cc_Image>
21 // reversing the order of the next two lines changes the diagnostic
22 // printed about the def of ccDisplay::image
23 ccImage (const ccImage &);
24 ccImage (const cc_Image &);
31 //ccImage image ( ccImage i) {img = i; return img;}
32 // above line compiles
33 ccImage image ( ccImage i) { return img = i;} /* this gets void* error */
38 // vd.C: In method `class ccImage ccDisplay::image (class ccImage)':
39 // vd.C:31: bad argument 1 for function `ccImage::ccImage (const class cc_Image&)' (type was void *)
40 // vd.C:31: in base initialization for class `ccImage'