[Interest] What's the recommended way to put QObjects in smart pointers?
Jean-Michaƫl Celerier
jeanmichael.celerier at gmail.com
Thu May 12 09:35:56 CEST 2016
On Wed, May 11, 2016 at 9:56 PM, Nikos Chantziaras <realnc at gmail.com> wrote:
>
> This results in code duplication, since you write the same cleanup code
> everywhere.
I'd argue that if you use RAII and have cleanup code in more than one
place, you are not using RAII.
But could you give an example of this ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160512/af002f06/attachment.html>
More information about the Interest
mailing list