[Development] Can we use std::unique_ptr in Qt base/modules sources since Qt5.7 ?

Denis Shienkov denis.shienkov at gmail.com
Mon Jun 13 12:16:12 CEST 2016


> QScopedPointer?

Do you have real example? ;)

2016-06-13 7:47 GMT+03:00 Bo Thorsen <bo at vikingsoft.eu>:

> Den 12-06-2016 kl. 12:59 skrev Denis Shienkov:
>
>> No, use of the C++11 Standard Library features is not permitted
>>>
>>
>> Lousy to hear it...
>>
>> How to do then RAII to avoid a leaks e.g. for Windows handles (HANDLE,
>> HKEY, HDEVINFO and other stuff)?
>>
>
> QScopedPointer?
>
> Bo Thorsen,
> Director, Viking Software.
>
> --
> Viking Software
> Qt and C++ developers for hire
> http://www.vikingsoft.eu
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20160613/7ae6e3f4/attachment.html>


More information about the Development mailing list