Hi !
I want derive my class as protected from its baseclass, e.g.
because nobody should change CRect directly, but I would like to provide a possibility to get a copy of the base class, e.g.Code:class CMyRect : protected CRect
{
}
or even can access const methods, likeCode:CMyRect* p = new CMyRect();
CRect r = *p;
Is there a possibility to define (an) operator(s) for this ?Code:CMyRect* p = new CMyRect();
int n = p->Height();
Thanks in advance !
