[Development] The future of smart pointers in Qt API

André Pönitz apoenitz at t-online.de
Tue Feb 4 21:20:51 CET 2020


On Tue, Feb 04, 2020 at 06:49:50AM +0100, Giuseppe D'Angelo wrote:
> Il 04/02/20 00:49, André Pönitz ha scritto:
> > > I've asked "what's wrong with the C++ smart pointers" a dozen times and
> > > never received a satisfactory answer.
> > Did you? I am - to some degree truly - afraid I didn't notice.
> [snip]
> 
> I apologize, I should've asked more clearly: "what's wrong with the C++
> smart pointers that demands re-implementations of them in Qt"?

"Nothing."

> Your answer is on point regarding the usage of smart pointers in general (no
> matter who's providing the implementation); it's a starting point for a
> discussion relative to Daniel's proposal, I guess?

My take is that Daniel's proposal is sane - and actually the only one I've seen
in that ballpark, with a huge margin - *if* one accepts that there's an actual
problem to solve.

Andre'




More information about the Development mailing list