On Tue, Feb 4, 2020 at 12:15 PM Vitaly Fanaskov <[email protected]> wrote:
> I think, if we decide to re-implement parent-child model using smart > pointers, we would not use unique pointers at all. Even in a methods > like QObject::makeChild (because ownership is already defined). Shared + > weak pointers make perfect sense here. You have to be really crafty. Allocating on the stack is a thing, you know, even for parent-child trees, so how do you intend to handle that? Are we again in "forget the stack and new everything" land?
_______________________________________________ Development mailing list [email protected] https://lists.qt-project.org/listinfo/development
