[Development] Making QScopedPointer scoped (again)

Thiago Macieira thiago.macieira at intel.com
Tue Sep 3 18:33:50 CEST 2013


On terça-feira, 3 de setembro de 2013 11:47:33, Stephen Kelly wrote:
> Why not use std::unique_ptr instead in the cases where the patch has an 
> effect?

We cannot. All uses of std::unique_ptr inside Qt are automatic -2.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130903/022584e6/attachment.sig>


More information about the Development mailing list