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

Denis Shienkov denis.shienkov at gmail.com
Sun Jun 12 12:59:32 CEST 2016


 > 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)?

BTW: But, I saw unique_ptr in qtbase and qt3d sources...

12.06.2016 1:10, Thiago Macieira пишет:
> On sábado, 11 de junho de 2016 17:25:40 PDT Denis Shienkov wrote:
>> Hi all...
>>
>> Is it possible now?
> No, use of the C++11 Standard Library features is not permitted, outside of
> inline code with #ifdef.
>




More information about the Development mailing list