Request to change signature of a KUrl method
Lubos Lunak
l.lunak at suse.cz
Mon Sep 14 19:49:39 BST 2009
On Monday 14 of September 2009, Andreas Pakulat wrote:
> On 14.09.09 19:36:47, Albert Astals Cid wrote:
> > A Dilluns, 14 de setembre de 2009, Ramon Zarazua va escriure:
> > > Hello.
> > >
> > > I have been working with KUrls frequently, and often I Need to clean
> > > the path of a URL before passing it in as an argument into a function.
> > > I am just suggesting having cleanPath return a reference to itself, to
> > > allow chaining, and avoid having to create temporaries to call the
> > > function.
> >
> > No.
>
> Right, but...
>
> > http://techbase.kde.org/Policies/Binary_Compatibility_Issues_With_C++
>
> That page doesn't say _anything_ about changing the return type of
> functions.
I've added it there for you.
> And from a pure name-mangling-perspective it won't make a
> difference on GCC as it doesn't include the return type in the mangled
> name. (as far as I understood Thiago's blog some time ago).
The point is not to break mangling. The point is not to break binary
compatibility.
--
Lubos Lunak
KDE developer
--------------------------------------------------------------
SUSE LINUX, s.r.o. e-mail: l.lunak at suse.cz , l.lunak at kde.org
Lihovarska 1060/12 tel: +420 284 028 972
190 00 Prague 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz
More information about the kde-core-devel
mailing list