From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-06-27 09:47:31


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