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

Bo Thorsen bo at vikingsoft.eu
Mon Jun 13 06:47:44 CEST 2016


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



More information about the Development mailing list