D16484: Add scratchpad plugin

Amish Naidu noreply at phabricator.kde.org
Fri Dec 7 06:22:12 GMT 2018


amhndu marked an inline comment as done.
amhndu added inline comments.

INLINE COMMENTS

> kfunk wrote in scratchpad.cpp:136
> Heh, sorry, misunderstanding. The method should be const, not the return-type.

From what I understand reading https://isocpp.org/wiki/faq/const-correctness#return-const-ref-from-const-memfn, returning a non-const ref from a const member function is not recommended.
Sorry, I didn't mean to argue but I'm trying to learn in the process.

REPOSITORY
  R32 KDevelop

BRANCH
  scratchpad

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

To: amhndu, #kdevelop, kfunk
Cc: kfunk, gregormi, brauch, kdevelop-devel, glebaccon, hase, antismap, iodelay, vbspam, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20181207/3e099300/attachment.html>


More information about the KDevelop-devel mailing list