[Development] The future of smart pointers in Qt API

André Pönitz apoenitz at t-online.de
Mon Feb 3 20:38:10 CET 2020


On Sun, Feb 02, 2020 at 11:32:02PM +0100, Giuseppe D'Angelo wrote:
> On 02/02/2020 22:45, André Pönitz wrote:
> > > This is a logical fallacy; "I don't need it, noone else does".
> > But this is the argument the de-Qt-ers use when it comes to Qt convenience
> > they don't need.
> 
> Which Qt convenience in particular?

Directly affected are for instance functions operating on full containers in

  https://doc.qt.io/qt-5/qtalgorithms-obsolete.html 

Indirectly, standard containers have no direct equivalent of .contains(),
so advocating using std over Qt has a similar effect here.

> I seem to be advocating against duplication "for the sake of it", not when
> there's strong arguments (e.g.  convenience) for it.

This is appreciated.

Andre'




More information about the Development mailing list