playground-libs/libkvkontakte has moved to kdereview

Albert Astals Cid aacid at kde.org
Thu Aug 25 16:08:11 BST 2011


A Dijous, 25 d'agost de 2011, Alexander Potashev vàreu escriure:
> 2011/8/25 Albert Astals Cid <aacid at kde.org>:
> > I thought you were going to get rid of the private members and use a
> > d-pointer instead?
> 
> What is the point of this? I think it will be OK to keep all class
> members in the main ("public") classes and use d-ptr only in case of
> real necessity.

The point is that usually you do not know what the library will end up doing 
and by using d-pointers everywhere you make it easier for yourself to maintain 
binary compatibility in the future.

But this is of course something you as maintainer of the library have to 
decide if it is worth or not.

Albert

> 
> 
> --
> Alexander Potashev




More information about the kde-core-devel mailing list