[Development] Making QScopedPointer scoped (again)

Thiago Macieira thiago.macieira at intel.com
Tue Sep 3 22:47:03 CEST 2013


On terça-feira, 3 de setembro de 2013 22:12:58, Oswald Buddenhagen wrote:
>     "A non-null QScopedPointer deletes when it leaves the scope."
> 
> which sounds quite reasonable to me.

It still does that.

Moving out of a QScopedPointer simply means taking the pointer out of it 
before it goes out of scope.

-- 
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/4d9f2ede/attachment.sig>


More information about the Development mailing list