[Development] Deleter that calls deleteLater() for use with std::unique_ptr<> and other smart pointers

Thiago Macieira thiago.macieira at intel.com
Wed Apr 19 21:10:46 CEST 2017


On quarta-feira, 19 de abril de 2017 06:44:24 PDT Konstantin Tokarev wrote:
> We already have QScopedPointerObjectDeleteLater, however it implements
> cleanup(T*) instead of operator()(T*).

BTW, we should implement operator() in those deleters, calling the cleanup() 
static.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list