27 Jun
2008
27 Jun
'08
1:47 p.m.
AMDG Khandelwal, Amit wrote:
However, if I define it as described in the post I get the following error.
clone2.cpp:33: sorry, not implemented: adjusting pointers for covariant returns clone2.cpp:33: sorry, not implemented: adjusting pointers for covariant returns clone2.cpp:33: sorry, not implemented: adjusting pointers for covariant returns
class C : public A { virtual A* doClone() const { } };
You're using a pretty old compiler, you know. In Christ, Steven Watanabe