BC question about derived private classes

Thiago Macieira thiago at kde.org
Tue May 24 05:08:57 BST 2011


On Tuesday, 24 de May de 2011 13:46:59 John Layt wrote:
> I'm now marking a number of the base class virtual methods as deprecated,
> so  I'm getting lots of warnings on the derived classes where they simply
> pass the call to the base class, so I'm thinking of simply deleting these
> reimplememented methods from the private derived classes.  Would I be right
> in  thinking this will not affect BC or cause any problems?

Changing private classes in any way never breaks BC, even if they are returned 
in pointers after being cast to a a public, base class.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20110524/0b8b2f5b/attachment.sig>


More information about the kde-core-devel mailing list