kde-core-devel@kde.org
[Top] [All Lists]

Re: protected d-pointers

Subject: Re: protected d-pointers
From: Matthias Kretz
Date: Thu, 7 Feb 2008 10:26:37 +0100
On Thursday 07 February 2008, Thiago Macieira wrote:
> Matthias Kretz wrote:
> >Hi,
> >
> >I suggest we require kdelibs classes to only use protected d-pointers so
> > that the shared-d-pointer pattern can be used when needed. Once we need
> > to keep BC on Windows we cannot change private members to protected
> > members anymore. So we can still do this now...
>
> Windows mangling of names only applies to symbol names. Member variables
> are not affected.
>
> Changing a private: d to a protected: d_ptr is BC.

Ah, Thierry told me otherwise. (Possibly a misunderstanding.) If you're right 
and changing member variables is BC on all platforms then you can ignore this 
thread...

-- 
________________________________________________________
Matthias Kretz (Germany)                            <><
http://Vir.homelinux.org/
MatthiasKretz@xxxxxxx, kretz@xxxxxxx,
Matthias.Kretz@xxxxxxxxxxxxxxxxxxxxx
<Prev in Thread] Current Thread [Next in Thread>