------- Comment #1 from rguenth at gcc dot gnu dot org 2010-02-20 14:00 ------- You can even use
virtual ptr clone () const { return new object(*this); } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43127
rguenth at gcc dot gnu dot org Sat, 20 Feb 2010 06:01:04 -0800
------- Comment #1 from rguenth at gcc dot gnu dot org 2010-02-20 14:00 ------- You can even use
virtual ptr clone () const { return new object(*this); } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43127