[Interest] What's the recommended way to put QObjects in smart pointers?
Giuseppe D'Angelo
dangelog at gmail.com
Thu May 5 13:52:48 CEST 2016
On Thu, May 5, 2016 at 1:22 PM, Nikos Chantziaras <realnc at gmail.com> wrote:
> That doesn't do anything useful. I think you're missing the point here.
Did you try the earlier suggestion of using a QScopedPointer with a
custom deleter that holds a QPointer to the instance and deletes it
only if it has not been deleted already?
Cheers,
--
Giuseppe D'Angelo
More information about the Interest
mailing list