|
-
June 19th, 2012, 10:57 AM
#2
Re: generic inheritance
 Originally Posted by oteel
Very simple idea:
There was <template> Array that take class Point, multiply to a factor and print this bunch of objects of class Point
Where is line 7 and line 15?
Second, now that you're deriving from Array, the Array class now needs a virtual destructor.
Regards,
Paul McKenzie
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|