[Development] Adding std::weak_ptr<void> to QModelIndex

Filippo Cucchetto filippocucchetto at gmail.com
Fri Apr 21 08:42:37 CEST 2017


Is there any plan to enhance the QModelIndex interface by adding support to
std::weak_ptr<void?
I know that is not necessary since we can directly store T* from
shared_ptr<T> but being able to store a weak_ptr seems a little bit safer.

-- 
Filippo Cucchetto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20170421/b5e05eff/attachment.html>


More information about the Development mailing list