[Development] The future of smart pointers in Qt API
apoenitz at t-online.de
Fri Jan 31 22:16:31 CET 2020
On Fri, Jan 31, 2020 at 03:27:29PM +0000, Vitaly Fanaskov wrote:
> Not abandoning, I think, but re-implementing properly. Raw pointers
> cause some certain problems here and changing them to something more
> smart would be nice. But it doesn't mean that we should get rid of
> parent-child model entirely. The point is that we can make it more
> explicit just by using smart pointers.
Can you maybe show some proof-of-concept pseudo-code how the typical
current user code looks like that you intent to improve, and how
it will look like afterwards?
> To make it clear, there is no decision made. We're just discussing.
And thank you for doing that.
I was already becoming afraid that we might be running out of
disputable items lately.
More information about the Development