Il 30/12/2016 19:47, Alexander Dyagilev ha scritto:
> Hello,
> 
> https://bugreports.qt.io/browse/QTBUG-29754
> 
> states that the problem was fixed and QScopedPointer supports it now.
> 

I implemented it in 5b9006bbdba7dcab01b8e640554a7d7a4b64f76b, but then a
discussion on the mailing list caused the change to be reverted in
3f6ed5566fcfbbba4cadfade460460f8ebf06ad3. The rationale was that the
name "QScopedPointer" implies that the pointer cannot escape the scope,
and move operations whould allow that.

HTH,
-- 
Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer
KDAB (UK) Ltd., a KDAB Group company | Tel: UK +44-1625-809908
KDAB - Qt, C++ and OpenGL Experts

Attachment: smime.p7s
Description: Firma crittografica S/MIME

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to