inheritable d and getting rid of virtual_hook

Oswald Buddenhagen ossi at kde.org
Wed Jun 6 09:52:02 BST 2007


On Wed, Jun 06, 2007 at 10:40:22AM +0200, Thiago Macieira wrote:
> But that only works for virtuals that aren't supposed to be overridden by
> the user of those classes. The users don't have access to the _p.h file,
> so they can't override in the d-pointer either.
> 
obviously.
but virtual_hooks are for internal use only anyway, no? hmm, well,
actually, they don't need to be ... damn.

> In the case of classes that have access to the privates anyways, the
> change can be done later without breaking BC.
> 
yup. it needs to be prepared now, though - changing from private to
inheritable d later would be BIC.

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




More information about the kde-core-devel mailing list