[Development] Making QScopedPointer scoped (again)

Thiago Macieira thiago.macieira at intel.com
Thu Sep 5 02:00:50 CEST 2013


On quarta-feira, 4 de setembro de 2013 22:37:55, Giuseppe D'Angelo wrote:
> On 4 September 2013 22:15, Stephen Kelly <stephen.kelly at kdab.com> wrote:
> > When there is a
> > need for QUniquePointer in the future, it is added.
> 
> https://codereview.qt-project.org/#change,64686 :-D

We should add QUniquePointer only when we find the need for it in Qt code, 
which by our rules cannot depend on the C++11 standard library features.

We should not provide it for third-party code, tell them to put pressure on 
their vendors to provide std::unique_ptr. Let's not duplicate the C++11 
standard library in Qt.

-- 
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/20130904/2bee05ee/attachment.sig>


More information about the Development mailing list