[Development] QtCS - QObject discussion

Thiago Macieira thiago.macieira at intel.com
Mon Jul 29 17:24:39 CEST 2013


On segunda-feira, 29 de julho de 2013 14:00:05, André Somers wrote:
> > http://herbsutter.com/2012/06/21/reader-qa-why-dont-modern-smart-pointers-> > implicitly-convert-to/
> That would solve it, but I am not convinced either way. I am also not 
> convinced that not having to use .data() is worth the risk introducing 
> operator T*. At the very least the delete should then be disabled as well.

There's no way to disable delete, aside from removing operator T*.

-- 
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/20130729/7c68d752/attachment.sig>


More information about the Development mailing list