[Development] Qt 5 types under consideration for deprecation / removal in Qt 6

Alberto Mardegan mardy at users.sourceforge.net
Tue Jun 18 08:18:41 CEST 2019


On 05/06/19 01:39, Kevin Kofler wrote:
> Mutz, Marc via Development wrote:
> 
>> and produces surprises such as
>> https://codereview.qt-project.org/gitweb?p=qt%2Fqtbase.git;a=commit;h=96dc9a19ae11ca140d681f0e2605b5f4b953e581
> 
> My existing QSharedDataPointer code always checks truth with
> if (d.constData()) and never if (d).

Adding a const bool operator to QSharedDataPointer would solve the
problem, wouldn't it?

Ciao,
  Alberto

-- 
http://www.mardy.it - Geek in un lingua international



More information about the Development mailing list