Topic: Subject: Clone for polymorph


Author: bgera@hotmail.com (Bond)
Date: Wed, 30 Jan 2002 10:10:19 CST
Raw View
I do not know how to reply to a posting by news-reader?

This is with reference to Article: Clone for polymorph

The last Approach giving a templatized solution is pretty elegant.
I have 2 issues:

1) The base class needs to derive from Class Clone which I see
a  great drawback. Any Suggestions to eliminate this?

2) The implementation is valid for all class hierarchies
immaterial they are polymorphic are not. The become polymorphic by virtue
of Clone class virtual functions.

thanks


======================================= MODERATOR'S COMMENT:

Newsreaders usually have a menu selection or button marked "reply"
or "followup".
You usually have a choice of replying to the author, or
sending a follow-up article to the newsgroup, or doing both.
If you don't see such a button or menu item, check the documentation
or help for your news reader.

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.research.att.com/~austern/csc/faq.html                ]