[Development] Can we use std::unique_ptr in Qt base/modules sources since Qt5.7 ?
nospam at vuorela.dk
Tue Jun 14 19:01:42 CEST 2016
On 2016-06-14, Konstantin Tokarev <annulen at yandex.ru> wrote:
> QScopedPointer lacks custom deleters which make it unusable for the purpose of managing Windows HANDLEs (see original post).
You can pass your own classes as handlers, provided that they have a
public static function void cleanup(T *pointer).
- from the documentation.
More information about the Development