Covariant returns?
Chris Heath
cheath@umich.edu
Mon Mar 6 18:54:00 GMT 2000
I'm wondering if covariant returns are going to be implemented anytime
soon... I looked on the known bugs page, but I didn't see anything
about it.
Try compiling this:
struct A {
virtual A* Clone();
};
struct B : public virtual A {
virtual B* Clone();
};
The result:
x.cpp:7: sorry, not implemented: adjusting pointers for covariant returns
I'm using gcc version 2.95.2 19991024 (release).
Chris Heath
More information about the Gcc
mailing list