Norbert Nemec wrote:

The idea in general is good. The example seems rather worthless to me: Where
would you use the interface Duplicate? If you have a variable of type
Duplicate, you will always only be able to create copies from it, but these
copies will have the compile-time type Duplicate as well. Afterwards, you
will need RTTI to cast the copy to the type of the original which seems
rather inelegant to me.
  

You wouldn't need RTTI when your using polymorphism for things like containers.


-- 
-Anderson: http://badmama.com.au/~anderson/