D23918: RFC: Drop Outputs class
Anthony Fieroni
noreply at phabricator.kde.org
Sat Sep 14 11:46:24 BST 2019
anthonyfieroni added a comment.
In D23918#530932 <https://phabricator.kde.org/D23918#530932>, @zzag wrote:
> Sorry to disappoint you but that's an unwritten rule in C++ community. The main reason why one should avoid inheriting qvector or std::vector has something to do with destructors. More specifically, neither one of those container types has virtual destructor. However, you could fix that with private inheritance, which will look very ugly!
They don't need virtual destructors, inheritance stl containers does not do anything with destructors.
REPOSITORY
R108 KWin
REVISION DETAIL
https://phabricator.kde.org/D23918
To: zzag, #kwin
Cc: anthonyfieroni, romangg, davidedmundson, alexeymin, kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, crozbo, bwowk, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20190914/4b020075/attachment.html>
More information about the kwin
mailing list