Recently, when porting away from KSharedPtr
[http://api.kde.org/4.x-api/kdelibs-apidocs/kdecore/html/classKSharedPtr.html]
(which is now deprecated under KF5) to QExplicitlySharedDataPointer
[http://qt-project.org/doc/qt-5/QExplicitlySharedDataPointer.html] in
KDevelop's frameworks branch, I noticed an interesting issue in the
QExplictlySharedDataPointer API.
Suppose we have two classes