D10341: Allow move semantics to be generated for KFileItem. The existing copy constructor, destructor and copy assignment operator are now also generated by the compiler.

David Faure noreply at phabricator.kde.org
Thu Feb 8 07:06:19 UTC 2018


dfaure accepted this revision.
dfaure added a comment.
This revision is now accepted and ready to land.


  Ah yeah, of course. Can't be inlined, since the impl needs to see the private class. Forget what I said, out-of-line it is, and yes, do keep the unittest ;) It at least guards against a move ctor that would do nothing, for instance.

REPOSITORY
  R241 KIO

BRANCH
  kfileitem_move

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

To: markg, dfaure, mwolff
Cc: ngraham, #frameworks, michaelh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180208/4c8839ce/attachment.html>


More information about the Kde-frameworks-devel mailing list