2008/6/3 Alan Conway <[EMAIL PROTECTED]>:
>
> gcc and solaris are differing on the rules about casting to private bases.
> I'm not certain if it's tecnically incorrect but a bit of googling strongly
> suggests that we should not write code that depends on this, we will
> probably have trouble with other compilers.

I am pretty sure that it is not valid to attempt to cast to a private
base class (which makes sense since the relationship is supposed to
be, well, private). It is a while since I have done any C++ but I seem
to recall that Microsoft tightened up VS 2005 so that it rejected
this.

RG

Reply via email to