QList<T&> QHash::values or mutable Objects reference list
Brainstorm
3
Posts
2
Posters
3.1k
Views
1
Watching
-
It would be useful to have a QList<T> QHash::values, that could return references to the objects rather than copies of the objects, something like QList<T&> QHash::values, especially for QMultiHash where I can get sets of objects with the same key; so I could modify the contents of the objects
Any ideas?
Is there already an implementation of this feature?