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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to