Covariant problem

Zarathustra adam.chrapkowski at gmail.com
Wed Jul 23 08:08:48 PDT 2008


error:
function basis.CPolygon2d.getPoints of type CPoint2d[]() overrides but is not covariant with basis.CPolygon3d.getPoints of type CPoint3d[]()

I don't know how to fix this problem. What does 'covariant' mean?


More information about the Digitalmars-d-learn mailing list