D23801: Port kpac from QtScript

Friedrich W. H. Kossebau noreply at phabricator.kde.org
Thu Oct 31 00:28:31 GMT 2019


kossebau added inline comments.

INLINE COMMENTS

> carewolf wrote in script.cpp:316
> Not really. I prefer to do it that way for invokable as the value will be copied, but const ref works too.

So why would it be preferable to have the value be copied there? In general, one prefers to avoid copies, so what is the different motvation here?

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D23801

To: carewolf, dfaure
Cc: kossebau, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191031/d141f1c1/attachment.html>


More information about the Kde-frameworks-devel mailing list