Re: [Development] Adding std::weak_ptr to QModelIndex

2017-04-21 Thread Marc Mutz
On Friday 21 April 2017 09:32:44 Filippo Cucchetto wrote: > 2017-04-21 9:13 GMT+02:00 Marc Mutz : > > On Friday 21 April 2017 08:42:37 Filippo Cucchetto wrote: > > > Is there any plan to enhance the QModelIndex interface by adding > > > support > > > > to > > > > > std::weak_ptr > > I know that i

Re: [Development] Adding std::weak_ptr to QModelIndex

2017-04-21 Thread Filippo Cucchetto
2017-04-21 9:13 GMT+02:00 Marc Mutz : > On Friday 21 April 2017 08:42:37 Filippo Cucchetto wrote: > > Is there any plan to enhance the QModelIndex interface by adding support > to > > std::weak_ptr > I know that is not necessary since we can directly store T* from > > shared_ptr but being able to

Re: [Development] Adding std::weak_ptr to QModelIndex

2017-04-21 Thread Marc Mutz
On Friday 21 April 2017 08:42:37 Filippo Cucchetto wrote: > Is there any plan to enhance the QModelIndex interface by adding support to > std::weak_ptr I know that is not necessary since we can directly store T* from > shared_ptr but being able to store a weak_ptr seems a little bit safer. There i

[Development] Adding std::weak_ptr to QModelIndex

2017-04-20 Thread Filippo Cucchetto
Is there any plan to enhance the QModelIndex interface by adding support to std::weak_ptr but being able to store a weak_ptr seems a little bit safer. -- Filippo Cucchetto ___ Development mailing list Development@qt-project.org http://lists.qt-project.o